diff options
author | lpsolit%gmail.com <> | 2009-11-10 17:00:10 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-11-10 17:00:10 +0100 |
commit | f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4 (patch) | |
tree | a9f9024a5a0f841427a8a7235a4ee62eff819d29 /Bugzilla | |
parent | 5d516a6ae2f021d2e276a842c24dff74d3448c45 (diff) | |
download | bugzilla-f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4.tar.gz bugzilla-f7b1e5c5e27780f4bb1be7c9a44f1a91024473e4.tar.xz |
Bug 505038: Use $user->is_insider instead of $user->in_group(Bugzilla->params->{'insidergroup'}) - Patch by XqueZme <xquezme@gmail.com> r/a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Bug.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 2a248905d..726316808 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -3085,8 +3085,7 @@ sub GetBugActivity { # Only includes attachments the user is allowed to see. my $suppjoins = ""; my $suppwhere = ""; - if (Bugzilla->params->{"insidergroup"} - && !Bugzilla->user->in_group(Bugzilla->params->{'insidergroup'})) + if (!Bugzilla->user->is_insider) { $suppjoins = "LEFT JOIN attachments ON attachments.attach_id = bugs_activity.attach_id"; |