diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-04 21:42:46 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-04 21:42:46 -0500 |
commit | 12aaec03b19a07635f59b00f532c92c37ac1df5f (patch) | |
tree | 130ce983418e569b51bd5eb173ba9776e1718249 /app | |
parent | 0f2b46dd6a9a1dc17768de2c415f382df95142e8 (diff) |
Fix php notice, see #1777
Diffstat (limited to 'app')
-rw-r--r-- | app/Controller/Taskcreation.php | 2 |
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, |