Browse code

news.php: Somehow forgot this particular comments patch...

Clarissa Walker authored on 2026/10/29 15:45:41
Showing 1 changed files
... ...
@@ -98,7 +98,7 @@ if($nid) {
98 98
 	$news->assign("skindir", $skindir);
99 99
 	$news->assign("newsdate", date("$dateformat $timeformat", $stories['date']) );
100 100
 	if($newscomments)
101
-		$news->assign("newscomments", "<a href=\"news.php?action=newsstory&amp;nid=".$stories['nid']."\">".(isset($stories['comments']) ? $stories['comments'] : null)." "._COMMENTS."</a>");
101
+		$news->assign("newscomments", "<a href=\"news.php?action=newsstory&amp;nid=".$stories['nid']."\">".$stories['comments']." "._COMMENTS."</a>");
102 102
 	if(isADMIN && uLEVEL < 4) 
103 103
 		$news->assign("adminoptions", "<a href=\"admin.php?action=news&amp;form=".$stories['nid']."\">"._EDIT."</a> | <a href=\"admin.php?action=news&amp;delete=".$stories['nid']."\">"._DELETE."</a>");
104 104
 	$output .= $news->getOutputContent( );