bug 1094: Wrong variable used in error message bug-1094
authorMichael Tänzer <neo@nhng.de>
Tue, 7 May 2013 21:37:34 +0000 (23:37 +0200)
committerMichael Tänzer <neo@nhng.de>
Tue, 7 May 2013 21:37:34 +0000 (23:37 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
www/disputes.php

index e4116ae..f195ed5 100644 (file)
                }
                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)
                {
                                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;
                }