summaryrefslogtreecommitdiff
path: root/app/Model/TaskCreationModel.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-06-28 21:06:55 -0400
committerFrederic Guillot <fred@kanboard.net>2016-06-28 21:06:55 -0400
commit29ed5cbad1f9a829d1b3c8d1b669d9833cad70ef (patch)
tree89c2c61e35a3f4b6caa3a5ff435c72c79d2f6b54 /app/Model/TaskCreationModel.php
parenta49e7b76439b6f722ad4129a4fbb58b88efcc256 (diff)
Fix field type issue with Postgres
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 fa2d32c6..cd70a028 100644
--- a/app/Model/TaskCreationModel.php
+++ b/app/Model/TaskCreationModel.php
@@ -60,7 +60,7 @@ class TaskCreationModel extends Base
$values = $this->dateParser->convert($values, array('date_started'), true);
$this->helper->model->removeFields($values, array('another_task'));
- $this->helper->model->resetFields($values, array('date_started', 'creator_id', 'owner_id', 'swimlane_id', 'date_due', 'score', 'category_id', 'time_estimated'));
+ $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'])) {
$values['column_id'] = $this->columnModel->getFirstColumnId($values['project_id']);