summaryrefslogtreecommitdiff
path: root/app/Event
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-16 17:54:17 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-16 17:54:17 +0200
commiteb6dfdca533bc18d8e1b1bdf4d4505c41d9b9c13 (patch)
treef44b4fa5fba0f75021a5bfb144daf821585c17b8 /app/Event
parenta76939066b01b9dd39ff44a8d3aa3165dc7b3eaf (diff)
Improve API calls for comments
Diffstat (limited to 'app/Event')
-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 3771ea7e..0aa061f3 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($data['task_id'], true);
+ $values['task'] = $this->notification->task->getById($values['comment']['task_id'], true);
return $values;
}