diff options
author | Byron Jones <bjones@mozilla.com> | 2012-01-06 04:06:56 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-01-06 04:06:56 +0100 |
commit | e1df54588e481a9727f8a95816a348527a50c27d (patch) | |
tree | 866628f1af08e253dda96badac50ff5bf7e166dd | |
parent | aa054c034d008bcac3978baab016641822ae695c (diff) | |
download | bugzilla-e1df54588e481a9727f8a95816a348527a50c27d.tar.gz bugzilla-e1df54588e481a9727f8a95816a348527a50c27d.tar.xz |
Bug 715771: fix Profanivore bug when sending some emails
-rw-r--r-- | extensions/Profanivore/Extension.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |