summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index a201393c1..87ebba9c4 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -218,6 +218,11 @@ if (defined($cgi->upload('data')) || $cgi->param('attach_text')) {
}
}
+# Set bug_ignored from the hidden field
+if (scalar $cgi->param('bug_ignored')) {
+ $bug->set_bug_ignored(1);
+}
+
# Set bug flags.
my ($flags, $new_flags) = Bugzilla::Flag->extract_flags_from_cgi($bug, undef, $vars,
SKIP_REQUESTEE_ON_ERROR);