Improved register_globals

pull/1/head
root 16 years ago
parent 25c01c726f
commit 24e4b974c6

@ -22,7 +22,7 @@
mysql_query("delete from `notary` where `id`='$assurance'"); mysql_query("delete from `notary` where `id`='$assurance'");
} }
if(intval($_REQUEST['userid']) <= 0) if(intval(array_key_exists('userid',$_REQUEST)?$_REQUEST['userid']:0) <= 0)
{ {
$emailsearch = $email = mysql_escape_string(stripslashes($_REQUEST['email'])); $emailsearch = $email = mysql_escape_string(stripslashes($_REQUEST['email']));
if(!strstr($email, "%")) if(!strstr($email, "%"))

Loading…
Cancel
Save