Report #140: Call to non present announcement or news number [read all]

This commit is contained in:
Kevin committed 2009-01-27 16:33:38 +00:00
1 parent fc8ea55adf
commit 8578bacd27
2 files changed
+2

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ if (!defined('IN_PORTAL'))
}
$news = request_var('news', -1);
$news = ($news > $portal_config['portal_number_of_news']) ? -1 : $news;
$user->add_lang('viewforum');
$start = request_var('np', 0);
$start = ($start < 0) ? 0 : $start;