From: Toshi MARUYAMA Date: Mon, 20 Oct 2014 04:04:38 +0000 (+0000) Subject: use deep_dup to prevent losing mail receiving options (#14491) X-Git-Tag: 3.0.0~498 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=92f2ab6b7071aa4c546cce36255692caaf910feb;p=redmine.git 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 --- 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] ||= {}