diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-13 22:55:01 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-13 22:55:01 -0400 |
commit | a785810f2d11ad14ab3497a51ca10a6780b758ad (patch) | |
tree | f00ef73737b122c426445dea28169bacbf4cef97 /app/Subscriber | |
parent | a9f976153983f8e611df14aa8ffed85bea052e0f (diff) |
Show changes in task update notifications
Diffstat (limited to 'app/Subscriber')
-rw-r--r-- | app/Subscriber/NotificationSubscriber.php | 1 |
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); |