diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-10-20 04:04:38 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-10-20 04:04:38 +0000 |
commit | 92f2ab6b7071aa4c546cce36255692caaf910feb (patch) | |
tree | 22c82c17d5d588bf5bfa1f1780456ee12348b045 | |
parent | c4484a40c0e9a8a4576845b9ee5adc357dd377c5 (diff) | |
download | redmine-92f2ab6b7071aa4c546cce36255692caaf910feb.tar.gz redmine-92f2ab6b7071aa4c546cce36255692caaf910feb.zip |
use deep_dup to prevent losing mail receiving options (#14491)
git-svn-id: http://svn.redmine.org/redmine/trunk@13457 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/models/mail_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 2687e8e1e..4aaa21c98 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -25,7 +25,7 @@ class MailHandler < ActionMailer::Base attr_reader :email, :user def self.receive(email, options={}) - @@handler_options = options.dup + @@handler_options = options.deep_dup @@handler_options[:issue] ||= {} |