From ebd3435cc7b9bb576ecc6be4ff1163142c08fc42 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 20 Oct 2014 06:36:05 +0000 Subject: [PATCH] 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 --- 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