mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Re-fix for bug 71550: all watchers are now accounted for instead of only the first watcher found.
This commit is contained in:
parent
f4a4dc2566
commit
d9036c41d2
@ -732,9 +732,11 @@ sub filterEmailGroup ($$$) {
|
||||
foreach my $person(@emailList) {
|
||||
my $personId = DBname_to_id($person);
|
||||
SendSQL("SELECT watcher FROM watch WHERE watched = $personId");
|
||||
my $watcher = FetchSQLData();
|
||||
if ($watcher) {
|
||||
push (@watchers, DBID_to_name($watcher));
|
||||
while(MoreSQLData()) {
|
||||
my ($watcher) = FetchSQLData();
|
||||
if ($watcher) {
|
||||
push (@watchers, DBID_to_name($watcher));
|
||||
}
|
||||
}
|
||||
}
|
||||
push(@emailList, @watchers);
|
||||
|
Loading…
Reference in New Issue
Block a user