summaryrefslogtreecommitdiffstats
path: root/app/models/mail_handler.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-01 08:56:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-01 08:56:27 +0000
commit0df7fa714b42fc8d5eece57689433b9f60c8d3d7 (patch)
tree42c4dec7992d1d703fee513ec329c11d519009af /app/models/mail_handler.rb
parentfb8e348254a24cc3facb238789f555aa70d9857b (diff)
downloadredmine-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.rb2
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|