summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-10 04:19:47 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-10 04:19:47 +0000
commit3fcd5d529cfed1cd52ac69942b4603e121501c2f (patch)
tree5b9e1825ea5dd26137bf34c131586ddba34cb2d2 /app/controllers
parentc7723e9bc980bc118ececa1e7bd59531ef927359 (diff)
downloadredmine-3fcd5d529cfed1cd52ac69942b4603e121501c2f.tar.gz
redmine-3fcd5d529cfed1cd52ac69942b4603e121501c2f.zip
add missing Relation#all at WorkflowsController#copy of r12583
git-svn-id: http://svn.redmine.org/redmine/trunk@12585 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/workflows_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/workflows_controller.rb b/app/controllers/workflows_controller.rb
index 24bd5c528..c216cc9db 100644
--- a/app/controllers/workflows_controller.rb
+++ b/app/controllers/workflows_controller.rb
@@ -101,7 +101,7 @@ class WorkflowsController < ApplicationController
@target_trackers = params[:target_tracker_ids].blank? ?
nil : Tracker.where(:id => params[:target_tracker_ids]).all
@target_roles = params[:target_role_ids].blank? ?
- nil : Role.where(:id => params[:target_role_ids])
+ nil : Role.where(:id => params[:target_role_ids]).all
if request.post?
if params[:source_tracker_id].blank? || params[:source_role_id].blank? || (@source_tracker.nil? && @source_role.nil?)
flash.now[:error] = l(:error_workflow_copy_source)