mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 07:38:01 +08:00
Pass correct param to notification email views
This commit is contained in:
parent
52c9539be3
commit
c8e6fbc338
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user