From ff23575eca822ff2ea6c3089b41a11be6f05a2ab Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Tue, 25 Jun 2013 22:47:46 +0200 Subject: bug 1176: User ID not always initialized properly --- pages/account/43.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pages/account') diff --git a/pages/account/43.php b/pages/account/43.php index 7bf6d04..8e6dc13 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -35,6 +35,8 @@ include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); if(intval(array_key_exists('userid',$_REQUEST)?$_REQUEST['userid']:0) <= 0) { + $_REQUEST['userid'] = 0; + $emailsearch = $email = mysql_escape_string(stripslashes($_REQUEST['email'])); //Disabled to speed up the queries -- cgit v1.2.1