summaryrefslogtreecommitdiff
path: root/app/Model/TaskCreationModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-09-11 20:55:21 -0400
committerFrederic Guillot <fred@kanboard.net>2016-09-11 20:55:21 -0400
commit49f9b65e6ceb97afffa3d44eb95e5aca64a5ab40 (patch)
treeeb0736708dfb515b5e7ee6519ca4e562ab136102 /app/Model/TaskCreationModel.php
parentdaa184458bdd595d02bc3625ff7abacbfd830b29 (diff)
Duplicate a task quickly to multiple projects after the creation
Diffstat (limited to 'app/Model/TaskCreationModel.php')
-rw-r--r--app/Model/TaskCreationModel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskCreationModel.php b/app/Model/TaskCreationModel.php
index b9b07d5e..bd95c1a4 100644
--- a/app/Model/TaskCreationModel.php
+++ b/app/Model/TaskCreationModel.php
@@ -61,7 +61,7 @@ class TaskCreationModel extends Base
$values = $this->dateParser->convert($values, array('date_due'));
$values = $this->dateParser->convert($values, array('date_started'), true);
- $this->helper->model->removeFields($values, array('another_task'));
+ $this->helper->model->removeFields($values, array('another_task', 'duplicate_multiple_projects'));
$this->helper->model->resetFields($values, array('creator_id', 'owner_id', 'swimlane_id', 'date_due', 'date_started', 'score', 'category_id', 'time_estimated', 'time_spent'));
if (empty($values['column_id'])) {