bug 1176: User ID not always initialized properly
authorBenny Baumann <BenBE@geshi.org>
Tue, 25 Jun 2013 20:47:46 +0000 (22:47 +0200)
committerBenny Baumann <BenBE@geshi.org>
Tue, 25 Jun 2013 20:47:46 +0000 (22:47 +0200)
pages/account/43.php

index 7bf6d04..8e6dc13 100644 (file)
@@ -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