Menu

#20 Missing quotes around SELECT parameter

open
nobody
None
5
2005-05-03
2005-05-03
Anthon Pang
No

v2.1 beta

An error occurred when I tried to Delete the same
schedule twice.

Line 534 of es_functions.php: $exptime needs to be quoted

i.e.,

$sql = "SELECT * FROM es_schedule WHERE
s_u_id=".$user["u_id"]." AND
s_group='".addslashes($group)."' AND
s_exptime='".$exptime."' ORDER BY s_starttime, s_id";

Discussion


Log in to post a comment.

MongoDB Logo MongoDB