mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01: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:
@@ -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