From 848f023d1ee4674149797411ded9c5a9b67a266f Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Sat, 12 Jan 2013 20:36:39 +0100 Subject: bug 1133: small adjustment in if statememnt --- www/wot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/wot.php') diff --git a/www/wot.php b/www/wot.php index 31b94e0..6ee014d 100644 --- a/www/wot.php +++ b/www/wot.php @@ -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.")); -- cgit v1.2.1