From 12aaec03b19a07635f59b00f532c92c37ac1df5f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 4 Feb 2016 21:42:46 -0500 Subject: Fix php notice, see #1777 --- app/Controller/Taskcreation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3