Found a bug and fixed it. There was no condition for when and Admin is
logged to set the$FG_CLAUSE so the sql was incorret and gave ... WHERE LIMIT
...
I just added:
else if (defined('AUTH_TYPE') && ($_SESSION['privilege'] == "Admin"))
{
$FG_CLAUSE = "1";
}
so the sql is WHERE 1 LIMIT ... which should be all rows.
--
Justin
|