mirror of
https://github.com/redmine/redmine.git
synced 2026-01-25 16:59:59 +01:00
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:
@@ -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] ||= {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user