]> source.dussan.org Git - redmine.git/commitdiff
use deep_dup to prevent losing mail receiving options (#14491)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 20 Oct 2014 04:04:38 +0000 (04:04 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 20 Oct 2014 04:04:38 +0000 (04:04 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13457 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/mail_handler.rb

index 2687e8e1e90f603e595d34fa6b6a8232be241d4d..4aaa21c982350634041e8232682952fa54033284 100644 (file)
@@ -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] ||= {}