diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-02 13:09:46 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-08 09:01:01 +0200 |
commit | 0d154595f81e9c181a73ee44650fffe78bccc002 (patch) | |
tree | 53e3c981dfddc5f56fbe66d3c0ed8ec30fce7d84 /lib | |
parent | 805f1d0096205d346173ab4c0cf314e1c95eba2f (diff) | |
download | nextcloud-server-0d154595f81e9c181a73ee44650fffe78bccc002.tar.gz nextcloud-server-0d154595f81e9c181a73ee44650fffe78bccc002.zip |
Fix the subject of notifications
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/notification/manager.php | 2 | ||||
-rw-r--r-- | 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; } /** |