From 29ed5cbad1f9a829d1b3c8d1b669d9833cad70ef Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 28 Jun 2016 21:06:55 -0400 Subject: Fix field type issue with Postgres --- app/Model/TaskCreationModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Model/TaskCreationModel.php') 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']); -- cgit v1.2.3