diff options
author | Byron Jones <bjones@mozilla.com> | 2013-08-08 00:54:23 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-08-08 00:54:23 +0200 |
commit | 2b5e7cf13015ff9b2c026dabe377c3fb3788367f (patch) | |
tree | 11c5fe52bdd292652d67c063a48070b2b35b78ed /post_bug.cgi | |
parent | 84787ef596fca79e34630ad885b1a58ccb1f05d2 (diff) | |
download | bugzilla-2b5e7cf13015ff9b2c026dabe377c3fb3788367f.tar.gz bugzilla-2b5e7cf13015ff9b2c026dabe377c3fb3788367f.tar.xz |
Bug 902681: Add the "Ignore all bugmail for this bug" field to the bug creation form as a hidden field
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-x | post_bug.cgi | 5 |
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); |