summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/Taskcreation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Taskcreation.php b/app/Controller/Taskcreation.php
index 6f5253eb..e661587c 100644
--- a/app/Controller/Taskcreation.php
+++ b/app/Controller/Taskcreation.php
@@ -71,7 +71,7 @@ class Taskcreation extends Base
return $this->create(array(
'owner_id' => $values['owner_id'],
'color_id' => $values['color_id'],
- 'category_id' => $values['category_id'],
+ 'category_id' => isset($values['category_id']) ? $values['category_id'] : 0,
'column_id' => $values['column_id'],
'swimlane_id' => isset($values['swimlane_id']) ? $values['swimlane_id'] : 0,
'another_task' => 1,