aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/rss.php b/www/rss.php
index 6b0625e..9315d5d 100644
--- a/www/rss.php
+++ b/www/rss.php
@@ -53,7 +53,7 @@ if ($usecache) {
if (isset($_GET['count'])) {
$rssEntries = (int)$_GET['count'];
}
-if ($rssEntries <= 0) {
+if (!isset($rssEntries) || $rssEntries <= 0) {
$rssEntries = $defaultRssEntries;
} else if ($rssEntries > $maxRssEntries) {
$rssEntries = $maxRssEntries;