From 726d3c1b09a6563c2a8364204a68f5f05c41caa0 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 26 Aug 2014 15:17:34 +0800 Subject: Bug 1051655: fix error thrown when users without editbugs comment on bugs --- post_bug.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'post_bug.cgi') 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} // []; } -- cgit v1.2.3-24-g4f1b