From 5fd780c8a92a52f6a7b567b8dbfd6c50e828a401 Mon Sep 17 00:00:00 2001 From: cweiske Date: Tue, 19 Jan 2010 20:30:44 +0000 Subject: fix E_NOTICE in rss git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@616 b3834d28-1941-0410-a4f8-b48e95affb8f --- www/rss.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/rss.php') 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; -- cgit v1.2.3-54-g00ecf