summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 94d43462d..cb0d581b3 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -578,7 +578,7 @@ sub insert {
}
# BMO - allow pre-processing of attachment flags
- Bugzilla::Hook::process('create_attachment_flags', { bug => $bug });
+ Bugzilla::Hook::process('create_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);