Commit e82b6d4482ddce64ce2acf099f04bfae1de1dc09
1 parent
7218159e
Exists in
master
and in
9 other branches
Fix proposal task rejection
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
controllers/myprofile/proposals_discussion_plugin_confirm_tasks_controller.rb
... | ... | @@ -28,7 +28,7 @@ private |
28 | 28 | begin |
29 | 29 | task = profile.find_in_all_tasks(params[:task_id]) |
30 | 30 | task.tag_list = params[:tag_list] |
31 | - task.article_parent_id = params[:article_parent_id] | |
31 | + task.article_parent_id = params[:article_parent_id] if decision.to_s == 'finish' | |
32 | 32 | task.email_template_id = params[:email_template_id] |
33 | 33 | task.send(decision, current_person) |
34 | 34 | result = {:success => true } | ... | ... |