From 24e4b974c60bd0ed20ff8de63206697536626fcd Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Sep 2008 21:54:52 +0000 Subject: [PATCH] Improved register_globals --- pages/account/43.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/account/43.php b/pages/account/43.php index c2b8ee9..f03a564 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -22,7 +22,7 @@ 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'])); if(!strstr($email, "%"))