summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-04-02 11:11:44 +0200
committerByron Jones <glob@mozilla.com>2014-04-02 11:11:44 +0200
commitf8a258de8911f3e1035739c105bec1fa94a6d7db (patch)
tree010d2f0cec97bbd0d7e5088f727211127cd9d712 /attachment.cgi
parent33513415fbea127615960fd55a725cd39cb31a17 (diff)
downloadbugzilla-f8a258de8911f3e1035739c105bec1fa94a6d7db.tar.gz
bugzilla-f8a258de8911f3e1035739c105bec1fa94a6d7db.tar.xz
Bug 986590: Confusing error message when not finding reviewer
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/attachment.cgi b/attachment.cgi
index 3ff16eb44..dff537e2b 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -577,6 +577,8 @@ sub insert {
$obsolete_attachment->update($timestamp);
}
+ # BMO - allow pre-processing of attachment flags
+ Bugzilla::Hook::process('create_attachment_flags', { bug => $bug });
my ($flags, $new_flags) = Bugzilla::Flag->extract_flags_from_cgi(
$bug, $attachment, $vars, SKIP_REQUESTEE_ON_ERROR);
$attachment->set_flags($flags, $new_flags);