From 0d154595f81e9c181a73ee44650fffe78bccc002 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 2 Sep 2015 13:09:46 +0200 Subject: [PATCH] Fix the subject of notifications --- lib/private/notification/manager.php | 2 +- lib/private/notification/notification.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/notification/manager.php b/lib/private/notification/manager.php index eee03d93db2..933c6199bc5 100644 --- a/lib/private/notification/manager.php +++ b/lib/private/notification/manager.php @@ -141,7 +141,7 @@ class Manager implements IManager { foreach ($notifiers as $notifier) { try { - $notifier->prepare($notification, $languageCode); + $notification = $notifier->prepare($notification, $languageCode); } catch (\InvalidArgumentException $e) { continue; } diff --git a/lib/private/notification/notification.php b/lib/private/notification/notification.php index f5171f150c6..5151b5546a8 100644 --- a/lib/private/notification/notification.php +++ b/lib/private/notification/notification.php @@ -248,7 +248,7 @@ class Notification implements INotification { * @since 8.2.0 */ public function getParsedSubject() { - return $this->messageParsed; + return $this->subjectParsed; } /**