diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-09-11 20:55:21 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-09-11 20:55:21 -0400 |
commit | 49f9b65e6ceb97afffa3d44eb95e5aca64a5ab40 (patch) | |
tree | eb0736708dfb515b5e7ee6519ca4e562ab136102 /app/Model/TaskModificationModel.php | |
parent | daa184458bdd595d02bc3625ff7abacbfd830b29 (diff) |
Duplicate a task quickly to multiple projects after the creation
Diffstat (limited to 'app/Model/TaskModificationModel.php')
-rw-r--r-- | app/Model/TaskModificationModel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/TaskModificationModel.php b/app/Model/TaskModificationModel.php index 6e16fbec..0ae29293 100644 --- a/app/Model/TaskModificationModel.php +++ b/app/Model/TaskModificationModel.php @@ -101,7 +101,7 @@ class TaskModificationModel 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', 'id')); + $this->helper->model->removeFields($values, array('id')); $this->helper->model->resetFields($values, array('date_due', 'date_started', 'score', 'category_id', 'time_estimated', 'time_spent')); $this->helper->model->convertIntegerFields($values, array('priority', 'is_active', 'recurrence_status', 'recurrence_trigger', 'recurrence_factor', 'recurrence_timeframe', 'recurrence_basedate')); |