Mercurial > hg > soundsoftware-site
diff app/controllers/admin_controller.rb @ 1516:b450a9d58aed redmine-2.4
Update to Redmine SVN revision 13356 on 2.4-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:28:31 +0100 |
parents | e248c7af89ec |
children |
line wrap: on
line diff
--- a/app/controllers/admin_controller.rb Mon Mar 17 08:54:02 2014 +0000 +++ b/app/controllers/admin_controller.rb Tue Sep 09 09:28:31 2014 +0100 @@ -65,7 +65,7 @@ @test = Mailer.test_email(User.current).deliver flash[:notice] = l(:notice_email_sent, User.current.mail) rescue Exception => e - flash[:error] = l(:notice_email_error, Redmine::CodesetUtil.replace_invalid_utf8(e.message)) + flash[:error] = l(:notice_email_error, Redmine::CodesetUtil.replace_invalid_utf8(e.message.dup)) end ActionMailer::Base.raise_delivery_errors = raise_delivery_errors redirect_to settings_path(:tab => 'notifications')