OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Prevent boolean casting for move_on_success,failure folders
Oliver Günther6833ebea4047
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rakeindex 7b31fafe42d..8958aa4e3f3 100644--- a/lib/tasks/email.rake+++ b/lib/tasks/email.rake@@ -145,8 +145,8 @@ namespace :redmine dousername: ENV.fetch('username', nil),password: ENV.fetch('password', nil),folder: ENV.fetch('folder', nil),- move_on_success: ActiveRecord::Type::Boolean.new.cast(ENV.fetch('move_on_success', nil)),- move_on_failure: ActiveRecord::Type::Boolean.new.cast(ENV.fetch('move_on_failure', nil))+ move_on_success: ENV.fetch('move_on_success', nil),+ move_on_failure: ENV.fetch('move_on_failure', nil)}Redmine::IMAP.check(imap_options, options_from_env)