summaryrefslogtreecommitdiffstats
path: root/lib/plugins/acts_as_watchable
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/acts_as_watchable')
-rw-r--r--lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb b/lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb
index 6b16e18a5..bb71a2884 100644
--- a/lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb
+++ b/lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb
@@ -73,7 +73,7 @@ module Redmine
def notified_watchers
notified = watcher_users.active.to_a
- notified = notified.map {|n| n.is_a?(Group) ? n.users : n}.flatten
+ notified = notified.map {|n| n.is_a?(Group) ? n.users.active : n}.flatten
notified.uniq!
notified.reject! {|user| user.mail.blank? || user.mail_notification == 'none'}
if respond_to?(:visible?)