summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2004-07-30 19:37:02 +0200
committerbugreport%peshkin.net <>2004-07-30 19:37:02 +0200
commitd0b82de8afb79809f8ecc3d39c337b2bcf46b0bc (patch)
treebb4b6f68da95eda2bea8202bf502aac08c8b34f3 /CGI.pl
parent82357809ddc5fcc41680149d1ad7a27045bbdaf9 (diff)
downloadbugzilla-d0b82de8afb79809f8ecc3d39c337b2bcf46b0bc.tar.gz
bugzilla-d0b82de8afb79809f8ecc3d39c337b2bcf46b0bc.tar.xz
Bug 253447: Fix unhelpful error if user enters text in "blocks" field
r=kiko a=justdave
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/CGI.pl b/CGI.pl
index bb271cf94..15c773a86 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -157,7 +157,7 @@ sub ValidateBugID {
my $alias = $id;
if (!detaint_natural($id)) {
$id = BugAliasToID($alias);
- $id || ThrowUserError("invalid_bug_id_or_alias", {'bug_id' => $id});
+ $id || ThrowUserError("invalid_bug_id_or_alias", {'bug_id' => $alias});
}
# Modify the calling code's original variable to contain the trimmed,