summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2004-12-21 18:04:00 +0100
committerjake%bugzilla.org <>2004-12-21 18:04:00 +0100
commitc068e2b90f06f898217dc9919371a583517d985e (patch)
treedc5845ff868e095bfe6d7c075a5eeebba781a702 /post_bug.cgi
parentf21cae35b182db1feccab05c3c2ad57357342dbe (diff)
downloadbugzilla-c068e2b90f06f898217dc9919371a583517d985e.tar.gz
bugzilla-c068e2b90f06f898217dc9919371a583517d985e.tar.xz
Bug 264601 - Bugzilla will now tell a user which field contained an "invalid bug number or alias."
Patch by Frédéric Buclin <LpSolit@netscape.net> r=myk, a=justdave
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 5fc50e66f..7282f8fa9 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -256,7 +256,7 @@ foreach my $field ("dependson", "blocked") {
my @validvalues;
foreach my $id (split(/[\s,]+/, $::FORM{$field})) {
next unless $id;
- ValidateBugID($id, 1);
+ ValidateBugID($id, $field);
push(@validvalues, $id);
}
$::FORM{$field} = join(",", @validvalues);