summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-05-07 23:37:34 +0200
committerMichael Tänzer <neo@nhng.de>2013-05-07 23:37:34 +0200
commit872521d6831db1e5796d9fac13212bbd3498865e (patch)
tree79b75bdeb7bc63b00dc3c46c4b28a0684c3e512f
parente6168fd1879a515c349fb99d60748be33bcb6b6e (diff)
downloadcacert-devel-872521d6831db1e5796d9fac13212bbd3498865e.tar.gz
cacert-devel-872521d6831db1e5796d9fac13212bbd3498865e.tar.xz
cacert-devel-872521d6831db1e5796d9fac13212bbd3498865e.zip
bug 1094: Wrong variable used in error messagebug-1094
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r--www/disputes.php3
1 files changed, 1 insertions, 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;
}