summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-23 21:16:14 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-23 21:16:14 -0500
commitb23613bbe369011256de8a558707ab9096074e9e (patch)
treef2ff4218df77e670cd18b54a133047bdb755a944
parent5315e4961e3628a04d19440a3dceca9ecc2acb82 (diff)
Fix regression: wrong URL in modal to move task to another project
-rw-r--r--ChangeLog1
-rw-r--r--app/Template/task_duplication/move.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 64360459..37c6c918 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@ Improvements:
Regressions:
* Stay on the same page when a task is closed
+* Wrong URL in modal to move task to another project
Version 1.0.37 (Jan 14, 2017)
-----------------------------
diff --git a/app/Template/task_duplication/move.php b/app/Template/task_duplication/move.php
index 6c3e39ee..16ce2464 100644
--- a/app/Template/task_duplication/move.php
+++ b/app/Template/task_duplication/move.php
@@ -22,7 +22,7 @@
'placeholder' => t('Choose a project'),
'replace' => array(
'regex' => 'PROJECT_ID',
- 'url' => $this->url->href('TaskDuplicationController', 'copy', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'dst_project_id' => 'PROJECT_ID')),
+ 'url' => $this->url->href('TaskDuplicationController', 'move', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'dst_project_id' => 'PROJECT_ID')),
)
)) ?>