[bugzilla-gnome-org-extensions] recipients is a hash in Bugzilla 4.4
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-extensions] recipients is a hash in Bugzilla 4.4
- Date: Thu, 20 Nov 2014 22:09:57 +0000 (UTC)
commit 26eb177104eb83f212065f3cbac338de68cfbb9b
Author: Olav Vitters <olav vitters nl>
Date: Mon Dec 24 23:26:32 2012 +0100
recipients is a hash in Bugzilla 4.4
Extension.pm | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Extension.pm b/Extension.pm
index 1aedae5..8c0ceed 100644
--- a/Extension.pm
+++ b/Extension.pm
@@ -268,11 +268,11 @@ sub bugmail_recipients {
# Don't email to @gnome.bugs and related
- foreach my $user_id (keys %recipients) {
- $users{$user_id} ||= new Bugzilla::User($user_id);
- my $user = $users{$user_id};
+ foreach my $user_id (keys %{$recipients}) {
+ $users->{$user_id} ||= new Bugzilla::User($user_id);
+ my $user = $users->{$user_id};
- delete $recipients{$user_id} if $user->email =~ /\.bugs$/;
+ delete $recipients->{$user_id} if $user->email =~ /\.bugs$/;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]