From c8e6fbc338a49bb190ef455c502b55044f776b7f Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Thu, 23 Jul 2015 16:39:56 +0930 Subject: [PATCH] Pass correct param to notification email views --- src/Core/Notifications/NotificationMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Notifications/NotificationMailer.php b/src/Core/Notifications/NotificationMailer.php index 867a76b3c..0c6b938c9 100644 --- a/src/Core/Notifications/NotificationMailer.php +++ b/src/Core/Notifications/NotificationMailer.php @@ -27,7 +27,7 @@ class NotificationMailer { $this->mailer->send( $blueprint->getEmailView(), - compact('notification', 'user'), + compact('blueprint', 'user'), function (Message $message) use ($blueprint, $user) { $message->to($user->email, $user->username) ->subject($blueprint->getEmailSubject());