summaryrefslogtreecommitdiff
path: root/app/Model/TaskModificationModel.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/TaskModificationModel.php')
-rw-r--r--app/Model/TaskModificationModel.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Model/TaskModificationModel.php b/app/Model/TaskModificationModel.php
index 762af2c5..0fc3617e 100644
--- a/app/Model/TaskModificationModel.php
+++ b/app/Model/TaskModificationModel.php
@@ -85,6 +85,11 @@ class TaskModificationModel extends Base
*/
public function prepare(array &$values)
{
+ if (isset($values['tags'])) {
+ $this->taskTagModel->save($values['project_id'], $values['id'], $values['tags']);
+ unset($values['tags']);
+ }
+
$values = $this->dateParser->convert($values, array('date_due'));
$values = $this->dateParser->convert($values, array('date_started'), true);