Some refactoring for PHP 5.3
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user