summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
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 006fd40ee..ecfb5fdaf 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -217,7 +217,7 @@ if ($data_fh || $attach_text) {
if ($attachment) {
# Set attachment flags.
- Bugzilla::Hook::process('post_bug_attachment_flags', { bug => $bug });
+ Bugzilla::Hook::process('post_bug_attachment_flags', { bug => $bug, attachment => $attachment });
my ($flags, $new_flags) = Bugzilla::Flag->extract_flags_from_cgi(
$bug, $attachment, $vars, SKIP_REQUESTEE_ON_ERROR);
$attachment->set_flags($flags, $new_flags);