Improved register_globals
This commit is contained in:
parent
25c01c726f
commit
24e4b974c6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue