diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-30 06:43:40 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-30 06:43:40 +0200 |
commit | 9a07ea292800bf33eb660f893de8a2d89569541d (patch) | |
tree | 148c4ee44471447c3c87e695bebf97edca05f10c /attachment.cgi | |
parent | 31e3b4eaea38384089f0cf6f268d4b513d23be59 (diff) | |
download | bugzilla-9a07ea292800bf33eb660f893de8a2d89569541d.tar.gz bugzilla-9a07ea292800bf33eb660f893de8a2d89569541d.tar.xz |
Bug 1125987: asking for review in a restricted bug doesn't work as expected ("You must provide a reviewer for review requests" instead of "That user cannot access that bug" error)
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-x | attachment.cgi | 2 |
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); |