bug 1133: small adjustment in if statememnt
authorINOPIAE <inopiae@cacert.org>
Sat, 12 Jan 2013 19:36:39 +0000 (20:36 +0100)
committerINOPIAE <inopiae@cacert.org>
Sat, 12 Jan 2013 19:36:39 +0000 (20:36 +0100)
www/wot.php

index 31b94e0..6ee014d 100644 (file)
@@ -150,7 +150,7 @@ function send_reminder()
        {
                $query = "select * from `users` where `email`='".mysql_escape_string(stripslashes($_POST['email']))."' and `locked`=1";
                $res = mysql_query($query);
-               if(mysql_num_rows($res) != 1)
+               if(mysql_num_rows($res) >= 1)
                {
                        $_SESSION['_config']['noemailfound'] = 0;
                        show_page("EnterEmail","",_("This account is locked and can not be assured. For more information ask support@cacert.org."));