From 92f2ab6b7071aa4c546cce36255692caaf910feb Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 20 Oct 2014 04:04:38 +0000 Subject: [PATCH] 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 --- app/models/mail_handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index 2687e8e1e..4aaa21c98 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -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] ||= {} -- 2.39.5