diff --git a/components/news.php b/components/news.php
index 6f7c8f4c14d589d46f8c29737e81d57f09b1a0b3..8c6631e1ffe5794671b96adbbe31d2a14188bb90 100644
--- a/components/news.php
+++ b/components/news.php
@@ -41,7 +41,8 @@ $query = "SELECT *, date_part('epoch', expiry) AS expirytime FROM news";
 if (@$pathlist[2]!="") $query .= " WHERE title=".$DB->qstr($pathlist[2]);
 $query .= " ORDER BY date DESC";
 
-$smarty->assign("news", $DB->GetArray($query));
+$newsarray = $DB->GetArray($query);
+if (!empty($newsarray)) $smarty->assign("news", $newsarray);
 
 $output = $smarty->fetch("news.tpl");
 $smarty->assign("title", "News");