so what should i do, amy?
the original string of code for that section looked like this:
Code:
// #############################################################################
if ($_REQUEST['do'] == 'getnew' OR $_REQUEST['do'] == 'getdaily')
{
globalize($_REQUEST, array(
'forumid' => INT,
'days' => INT,
'exclude' => STR
));
// get date:
if ($_REQUEST['do'] == 'getnew' AND $bbuserinfo['lastvisit'] != 0)
{
// if action = getnew and last visit date is set
$datecut = $bbuserinfo['lastvisit'];
}
else
{
$_REQUEST['do'] = 'getdaily';
if ($days < 1)
{
$days = 1;
}
$datecut = TIMENOW - (24 * 60 * 60 * $days);
}