diff --git a/app/models/dmsf_mailer.rb b/app/models/dmsf_mailer.rb index 2acb69ec..55c3029f 100644 --- a/app/models/dmsf_mailer.rb +++ b/app/models/dmsf_mailer.rb @@ -1,7 +1,9 @@ +# encoding: utf-8 +# # Redmine plugin for Document Management System "Features" # # Copyright (C) 2011 Vít Jonáš -# Copyright (C) 2011-14 Karel Pičman +# Copyright (C) 2011-15 Karel Pičman # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -114,7 +116,7 @@ class DmsfMailer < Mailer end end - notify_members.collect { |m| m.user } + notify_members.collect { |m| m.user }.uniq end end \ No newline at end of file