summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Attachment.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-02-05 00:36:46 +0100
committerlpsolit%gmail.com <>2007-02-05 00:36:46 +0100
commit31d86bb1bf64adba6d20fd9389dcedd30fd7bb84 (patch)
tree4840f25e455af90aa00bf48e8323283bb42c4268 /Bugzilla/Attachment.pm
parent0bcc983f85371e05099cfc8a496bec74da09093a (diff)
downloadbugzilla-31d86bb1bf64adba6d20fd9389dcedd30fd7bb84.tar.gz
bugzilla-31d86bb1bf64adba6d20fd9389dcedd30fd7bb84.tar.xz
Bug 364177: On attachment and bug creation, if *one* requestee cannot see the bug, *all* requests are cancelled - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r--Bugzilla/Attachment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 6a798d046..cf4f475f6 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -865,7 +865,7 @@ sub insert_attachment_for_bug {
my $error_mode_cache = Bugzilla->error_mode;
Bugzilla->error_mode(ERROR_MODE_DIE);
eval {
- Bugzilla::Flag::validate($cgi, $bug->bug_id, -1);
+ Bugzilla::Flag::validate($cgi, $bug->bug_id, -1, SKIP_REQUESTEE_ON_ERROR);
Bugzilla::Flag::process($bug, $attachment, $timestamp, $cgi);
};
Bugzilla->error_mode($error_mode_cache);