Browse code

news.php: consistency change

Clarissa Walker authored on 2026/10/29 13:04:03
Showing 1 changed files
... ...
@@ -72,7 +72,7 @@ if($nid) {
72 72
 	if(file_exists("./$skindir/newsbox.tpl"))
73 73
 		$news = new TemplatePower( "./$skindir/newsbox.tpl" );
74 74
 	else $news = new TemplatePower( "./default_tpls/newsbox.tpl" );
75
-	if(empty($stories)) {
75
+	if(!$stories) {
76 76
 		$current = "newserror";
77 77
 		// load our template files to set up the page.
78 78
 		if (file_exists("$skindir/default.tpl")) $tpl = new TemplatePower("$skindir/default.tpl");