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

This commit is contained in:
Kevin
2009-01-27 16:33:38 +00:00
parent fc8ea55adf
commit 8578bacd27
2 changed files with 2 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ if (!defined('IN_PORTAL'))
}
$announcement = request_var('announcement', -1);
$announcement = ($announcement > $portal_config['portal_number_of_announcements']) ? -1 : $announcement;
$start = request_var('ap', 0);
$start = ($start < 0) ? 0 : $start;