From: Dan A. <Dan...@Ph...> - 2006-11-05 07:59:05
|
Odd, I only logon as an Admin and I did not encounter any problems. =20 I've handled a similar issue by moving the WHERE into $FG_CLAUSE, so a blank $FG_CLAUSE also returns everything. Either solution works for me. =20 Dan ________________________________ From: web...@li... [mailto:web...@li...] On Behalf Of Justin Hamade Sent: Saturday, November 04, 2006 1:51 PM To: Web...@li... Subject: [Web-meetme-devel] Bug fixed in conf_delete.php =09 =09 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 ...=20 =09 I just added: else if (defined('AUTH_TYPE') && ($_SESSION['privilege'] =3D=3D "Admin"))=20 { $FG_CLAUSE =3D "1"; } =09 so the sql is WHERE 1 LIMIT ... which should be all rows. =09 --=20 Justin=20 |