summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-09 07:13:48 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-09 07:13:48 +0200
commit0d4b6525dd86f837eb9e931e48a92fc6a0033e11 (patch)
treec876d0bdcb8f36b47442d020ea0e1572e21b7b3c /app/Controller
parente383c069f1aeba49ea9905f77a51bf663e614b0e (diff)
The color is not mandatory for task creation through the API
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Task.php2
1 files changed, 1 insertions, 1 deletions
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'),