Skip to content

Commit 2129dbb

Browse files
committed
- (Bug Fix) Fixed an issue with notification types not getting parsed correctly
1 parent 3b3a339 commit 2129dbb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/notification_types/AfterUserInactivityNotificationType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function onBeforeSend(Postmaster_TransportModel $model, $debug = false)
6060
}
6161
}
6262

63-
$this->notification->parse(array(
63+
$this->parse(array(
6464
'user' => $user
6565
));
6666

core/notification_types/DefaultNotificationType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function getId()
2020

2121
public function onBeforeSend(Postmaster_TransportModel $model)
2222
{
23-
$this->notification->parse(array());
23+
$this->parse(array());
2424

2525
if($this->hasExtraConditionals() && !$this->areExtraConditionalsValid())
2626
{

core/notification_types/ExpiredEntriesNotificationType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function onBeforeSend(Postmaster_TransportModel $model)
4040
$model->senderId = $entry->id;
4141

4242
// Parse the notification with the entry
43-
$this->notification->parse(array(
43+
$this->parse(array(
4444
'entry' => $entry
4545
));
4646

0 commit comments

Comments
 (0)