From 0d4b6525dd86f837eb9e931e48a92fc6a0033e11 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 9 Sep 2014 07:13:48 +0200 Subject: The color is not mandatory for task creation through the API --- app/Controller/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller') diff --git a/app/Controller/Task.php b/app/Controller/Task.php index 97751947..b0bb9d5b 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -30,7 +30,7 @@ class Task extends Base $values = array( 'title' => $this->request->getStringParam('title'), 'description' => $this->request->getStringParam('description'), - 'color_id' => $this->request->getStringParam('color_id', 'blue'), + 'color_id' => $this->request->getStringParam('color_id'), 'project_id' => $this->request->getIntegerParam('project_id', $defaultProject['id']), 'owner_id' => $this->request->getIntegerParam('owner_id'), 'column_id' => $this->request->getIntegerParam('column_id'), -- cgit v1.2.3