diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-07-19 14:14:05 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-07-19 14:14:05 -0400 |
commit | d1bfc29f1b738b396e4fb9befa9b49c24f4e9249 (patch) | |
tree | fa41906a61007c0893ca7ab238ed52f853bb452f /app/Controller/Task.php | |
parent | 9eeb7d18201ad817d8c5eb88995a48c5bd44d22a (diff) |
Add settings option to define the default task color
Diffstat (limited to 'app/Controller/Task.php')
-rw-r--r-- | app/Controller/Task.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Task.php b/app/Controller/Task.php index db12a0c7..6e525b13 100644 --- a/app/Controller/Task.php +++ b/app/Controller/Task.php @@ -122,7 +122,7 @@ class Task extends Base $values = array( 'swimlane_id' => $this->request->getIntegerParam('swimlane_id', key($swimlanes_list)), 'column_id' => $this->request->getIntegerParam('column_id'), - 'color_id' => $this->request->getStringParam('color_id'), + 'color_id' => $this->request->getStringParam('color_id', $this->color->getDefaultColor()), 'owner_id' => $this->request->getIntegerParam('owner_id'), 'another_task' => $this->request->getIntegerParam('another_task'), ); |