From 872521d6831db1e5796d9fac13212bbd3498865e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Tue, 7 May 2013 23:37:34 +0200 Subject: bug 1094: Wrong variable used in error message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Tänzer --- www/disputes.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/disputes.php b/www/disputes.php index e4116ae..f195ed5 100644 --- a/www/disputes.php +++ b/www/disputes.php @@ -319,7 +319,6 @@ } unset($oldid); $query = "select * from `domains` where `domain`='$domain' and `deleted`=0"; - $email = ""; if(array_key_exists('email',$_REQUEST)) $email=trim(mysql_real_escape_string($_REQUEST['email'])); $res = mysql_query($query); if(mysql_num_rows($res) <= 0) { @@ -333,7 +332,7 @@ exit; } showheader(_("Domain Dispute")); - printf(_("The domain '%s' doesn't exist in the system. Can't continue."), sanitizeHTML($email)); + printf(_("The domain '%s' doesn't exist in the system. Can't continue."), sanitizeHTML($domain)); showfooter(); exit; } -- cgit v1.2.1