fix E_NOTICE in rss

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@616 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2010-01-19 20:30:44 +00:00
parent 7240d693de
commit 5fd780c8a9

View file

@ -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;