summaryrefslogtreecommitdiff
path: root/app/Action/CommentCreation.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Action/CommentCreation.php')
-rw-r--r--app/Action/CommentCreation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Action/CommentCreation.php b/app/Action/CommentCreation.php
index 3543403d..5dbe32f1 100644
--- a/app/Action/CommentCreation.php
+++ b/app/Action/CommentCreation.php
@@ -61,7 +61,7 @@ class CommentCreation extends Base
*/
public function doAction(array $data)
{
- return $this->comment->create(array(
+ return (bool) $this->comment->create(array(
'reference' => $data['reference'],
'comment' => $data['comment'],
'task_id' => $data['task_id'],