summaryrefslogtreecommitdiff
path: root/app/Action/TaskCreation.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-22 18:49:34 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-22 18:49:34 -0500
commitc49d46718a07afeea017aa90a60320587211dc49 (patch)
tree68499594b8d2f6a26411249aaff12b87b4ee3628 /app/Action/TaskCreation.php
parent77e10d25829f3523a168bf61424fac99a539f8be (diff)
Some refactoring for PHP 5.3
Diffstat (limited to 'app/Action/TaskCreation.php')
-rw-r--r--app/Action/TaskCreation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Action/TaskCreation.php b/app/Action/TaskCreation.php
index 5715310f..0c791688 100644
--- a/app/Action/TaskCreation.php
+++ b/app/Action/TaskCreation.php
@@ -59,7 +59,7 @@ class TaskCreation extends Base
*/
public function doAction(array $data)
{
- return $this->taskCreation->create(array(
+ return (bool) $this->taskCreation->create(array(
'project_id' => $data['project_id'],
'title' => $data['title'],
'reference' => $data['reference'],