From 41f971a4d58ad0877b9b0bf1f6b52dfa489d1ade Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Sun, 18 May 2014 11:20:22 +0200 Subject: [PATCH] also, fight stupidity in development, my bad :P Signed-off-by: Michael Kaufmann (d00p) --- customer_email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/customer_email.php b/customer_email.php index a924b31e..a518baf1 100644 --- a/customer_email.php +++ b/customer_email.php @@ -635,7 +635,7 @@ if ($page == 'overview') { standard_error(array('stringisempty', 'mypassword')); exit; } - elseif ($password = $result['email_full']) { + elseif ($password == $result['email_full']) { standard_error('passwordshouldnotbeusername'); exit; }