From e1df54588e481a9727f8a95816a348527a50c27d Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Fri, 6 Jan 2012 11:06:56 +0800 Subject: Bug 715771: fix Profanivore bug when sending some emails --- extensions/Profanivore/Extension.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions/Profanivore') diff --git a/extensions/Profanivore/Extension.pm b/extensions/Profanivore/Extension.pm index 266ab9ff0..fad909c39 100644 --- a/extensions/Profanivore/Extension.pm +++ b/extensions/Profanivore/Extension.pm @@ -69,7 +69,8 @@ sub mailer_before_send { $author = new Bugzilla::User({ name => $author }); $recipient = new Bugzilla::User({ name => $recipient }); - if ($author->id && + if ($author && + $author->id && !$author->in_group('editbugs') && $author->id ne $recipient->id) { -- cgit v1.2.3-24-g4f1b