summaryrefslogtreecommitdiff
path: root/pages/account
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2013-06-25 22:47:46 +0200
committerBenny Baumann <BenBE@geshi.org>2013-06-25 22:47:46 +0200
commitff23575eca822ff2ea6c3089b41a11be6f05a2ab (patch)
tree6b5bab6816ed63477e7b7ef40ece79406a7b6d98 /pages/account
parente9423bc972b74b89b55232f35f41fa8df99de547 (diff)
downloadcacert-devel-ff23575eca822ff2ea6c3089b41a11be6f05a2ab.tar.gz
cacert-devel-ff23575eca822ff2ea6c3089b41a11be6f05a2ab.tar.xz
cacert-devel-ff23575eca822ff2ea6c3089b41a11be6f05a2ab.zip
bug 1176: User ID not always initialized properly
Diffstat (limited to 'pages/account')
-rw-r--r--pages/account/43.php2
1 files changed, 2 insertions, 0 deletions
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