diff options
author | bbaetz%cs.mcgill.ca <> | 2001-10-23 22:44:50 +0000 |
---|---|---|
committer | bbaetz%cs.mcgill.ca <> | 2001-10-23 22:44:50 +0000 |
commit | 9042b58f0ceb4896bd99542a3f59a368158bbccc (patch) | |
tree | dfa9027e25cd0456fad9697bc4038a12daae63a6 /Bugzilla | |
parent | Bug 63249 - The Bug Counts report was running very slowly due to unneeded fie... (diff) | |
download | bugzilla-9042b58f0ceb4896bd99542a3f59a368158bbccc.tar.gz bugzilla-9042b58f0ceb4896bd99542a3f59a368158bbccc.tar.bz2 bugzilla-9042b58f0ceb4896bd99542a3f59a368158bbccc.zip |
Bug 97469 - Assignee/QA/Reporter/CC don't get email on restricted bugs.
Also fixes seeing bugs in the buglist (bug 95024), dependancy lists,
tooltips, duplicates, and everywhere else I could see which checked group
bugs.groupset == 0.
Also fxed bug 101560, by clearing BASH_ENV
r=myk,justdave
Diffstat (limited to 'Bugzilla')
-rwxr-xr-x | Bugzilla/Bug.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 76ea56156..8b4243c25 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -113,10 +113,9 @@ sub initBug { groupset, delta_ts, sum(votes.count) from bugs left join votes using(bug_id) where bugs.bug_id = $bug_id - and bugs.groupset & $usergroupset = bugs.groupset group by bugs.bug_id"; - &::SendSQL($query); + &::SendSQL(&::SelectVisible($query, $user_id, $usergroupset)); my @row; if (@row = &::FetchSQLData()) { @@ -445,6 +444,7 @@ sub Collision { my $write = "WRITE"; # Might want to make a param to control # whether we do LOW_PRIORITY ... &::SendSQL("LOCK TABLES bugs $write, bugs_activity $write, cc $write, " . + "cc AS selectVisible_cc $write, " . "profiles $write, dependencies $write, votes $write, " . "keywords $write, longdescs $write, fielddefs $write, " . "keyworddefs READ, groups READ, attachments READ, products READ"); |