diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-01 08:56:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-11-01 08:56:27 +0000 |
commit | 0df7fa714b42fc8d5eece57689433b9f60c8d3d7 (patch) | |
tree | 42c4dec7992d1d703fee513ec329c11d519009af /app/models/mail_handler.rb | |
parent | fb8e348254a24cc3facb238789f555aa70d9857b (diff) | |
download | redmine-0df7fa714b42fc8d5eece57689433b9f60c8d3d7.tar.gz redmine-0df7fa714b42fc8d5eece57689433b9f60c8d3d7.zip |
Allow a default version to be set on the command line for incoming emails (#7346).
git-svn-id: http://svn.redmine.org/redmine/trunk@14789 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/mail_handler.rb')
-rw-r--r-- | app/models/mail_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/mail_handler.rb b/app/models/mail_handler.rb index e016dacfe..99462179e 100644 --- a/app/models/mail_handler.rb +++ b/app/models/mail_handler.rb @@ -62,7 +62,7 @@ class MailHandler < ActionMailer::Base # Use when receiving emails with rake tasks def self.extract_options_from_env(env) options = {:issue => {}} - %w(project status tracker category priority).each do |option| + %w(project status tracker category priority fixed_version).each do |option| options[:issue][option.to_sym] = env[option] if env[option] end %w(allow_override unknown_user no_permission_check no_account_notice default_group project_from_subaddress).each do |option| |