summaryrefslogtreecommitdiffstats
path: root/apis/news.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'apis/news.inc.php')
-rw-r--r--apis/news.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apis/news.inc.php b/apis/news.inc.php
index 4f06abf7..ace41b21 100644
--- a/apis/news.inc.php
+++ b/apis/news.inc.php
@@ -20,6 +20,7 @@ if ($row !== false ) {
echo "</news>";
} else {
+ // no news in DB, output a 'null' news xml
echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
echo "<news>null</news>";
}