summaryrefslogtreecommitdiff
path: root/app/Event/CommentNotificationListener.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-20 14:49:31 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-20 14:49:31 +0200
commit41e796c52aa693d13636b54efe15705eaec27f3f (patch)
treebc670e457e98c1d8a9ac8e2b82bf8e2c424af328 /app/Event/CommentNotificationListener.php
parent00cdc609d113fedf977da1d55136dc4d699fb308 (diff)
Models refactoring/improvements
Diffstat (limited to 'app/Event/CommentNotificationListener.php')
-rw-r--r--app/Event/CommentNotificationListener.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Event/CommentNotificationListener.php b/app/Event/CommentNotificationListener.php
index 0aa061f3..36b7ea4b 100644
--- a/app/Event/CommentNotificationListener.php
+++ b/app/Event/CommentNotificationListener.php
@@ -23,7 +23,7 @@ class CommentNotificationListener extends BaseNotificationListener
{
$values = array();
$values['comment'] = $this->notification->comment->getById($data['id']);
- $values['task'] = $this->notification->task->getById($values['comment']['task_id'], true);
+ $values['task'] = $this->notification->task->getDetails($values['comment']['task_id']);
return $values;
}