Browse Source

Fix the subject of notifications

remotes/origin/db-empty-migrate
Joas Schilling 10 years ago
parent
commit
0d154595f8
  1. 2
      lib/private/notification/manager.php
  2. 2
      lib/private/notification/notification.php

2
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;
}

2
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;
}
/**

Loading…
Cancel
Save