Merged r13457 from trunk to 2.6-stable (#14491)

use deep_dup to prevent losing mail receiving options.

git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@13459 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2014-10-20 06:36:05 +00:00
parent 93d43cfc94
commit ebd3435cc7

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