summaryrefslogtreecommitdiff
path: root/app/Subscriber/NotificationSubscriber.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-13 22:55:01 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-13 22:55:01 -0400
commita785810f2d11ad14ab3497a51ca10a6780b758ad (patch)
treef00ef73737b122c426445dea28169bacbf4cef97 /app/Subscriber/NotificationSubscriber.php
parenta9f976153983f8e611df14aa8ffed85bea052e0f (diff)
Show changes in task update notifications
Diffstat (limited to 'app/Subscriber/NotificationSubscriber.php')
-rw-r--r--app/Subscriber/NotificationSubscriber.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Subscriber/NotificationSubscriber.php b/app/Subscriber/NotificationSubscriber.php
index 41fd6aef..d605c9f3 100644
--- a/app/Subscriber/NotificationSubscriber.php
+++ b/app/Subscriber/NotificationSubscriber.php
@@ -41,6 +41,7 @@ class NotificationSubscriber extends \Core\Base implements EventSubscriberInterf
switch (get_class($event)) {
case 'Event\TaskEvent':
$values['task'] = $this->taskFinder->getDetails($event['task_id']);
+ $values['changes'] = isset($event['changes']) ? $event['changes'] : array();
break;
case 'Event\SubtaskEvent':
$values['subtask'] = $this->subtask->getById($event['id'], true);