summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-08-17 00:32:16 +0200
committerlpsolit%gmail.com <>2007-08-17 00:32:16 +0200
commit69d686de7d7f2da1c8906a5465e39eb661aa56cf (patch)
tree39ccc7bf3f2565d11a34a380e870d88704d7b88e /process_bug.cgi
parent2c7bf1ccef93895052aefc4bb541d74933a914e3 (diff)
downloadbugzilla-69d686de7d7f2da1c8906a5465e39eb661aa56cf.tar.gz
bugzilla-69d686de7d7f2da1c8906a5465e39eb661aa56cf.tar.xz
Bug 385453: email_in.pl resets group restrictions - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 2fa74dbfd..e5e873e86 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1204,7 +1204,8 @@ foreach my $id (@idlist) {
# When editing several bugs at once, only consider groups which
# have been displayed.
elsif (($user->in_group_id($gid) || $product_change)
- && (defined $cgi->param('id') || defined $cgi->param("bit-$gid")))
+ && ((defined $cgi->param('id') && Bugzilla->usage_mode != USAGE_MODE_EMAIL)
+ || defined $cgi->param("bit-$gid")))
{
if (!$cgi->param("bit-$gid")) {
delete $updated_groups{$gid};