diff options
author | Byron Jones <glob@mozilla.com> | 2014-08-26 09:17:34 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-08-26 09:17:34 +0200 |
commit | 726d3c1b09a6563c2a8364204a68f5f05c41caa0 (patch) | |
tree | e92558083054f71a597ab0ef9ca4111a9bfd68bb /post_bug.cgi | |
parent | fe5deaa737630825b6012487ee5bc583d3c17343 (diff) | |
download | bugzilla-726d3c1b09a6563c2a8364204a68f5f05c41caa0.tar.gz bugzilla-726d3c1b09a6563c2a8364204a68f5f05c41caa0.tar.xz |
Bug 1051655: fix error thrown when users without editbugs comment on
bugs
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi index ccdda3e2d..21b621acc 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -159,6 +159,7 @@ foreach my $field (@multi_selects) { # instead of $cgi->param to ensure we get the correct value. foreach my $field (keys %$user_match_fields) { next if exists $bug_params{$field}; + next unless $cgi->should_set($field); $bug_params{$field} = Bugzilla->input_params->{$field} // []; } |