diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-01-19 20:30:44 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2010-01-19 20:30:44 +0000 |
commit | 5fd780c8a92a52f6a7b567b8dbfd6c50e828a401 (patch) | |
tree | dc3a133ea6bfb1b53983ab69df3144a84f173b2e /www | |
parent | 7240d693de33dc3b66fadbf0d11c2f23be67ea24 (diff) | |
download | semanticscuttle-5fd780c8a92a52f6a7b567b8dbfd6c50e828a401.tar.gz semanticscuttle-5fd780c8a92a52f6a7b567b8dbfd6c50e828a401.tar.bz2 |
fix E_NOTICE in rss
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@616 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'www')
-rw-r--r-- | www/rss.php | 2 |
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; |