1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-30 20:29:37 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2014-10-20 04:04:38 +00:00
parent c4484a40c0
commit 92f2ab6b70

View 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] ||= {}