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; }