mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +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(
|
$this->mailer->send(
|
||||||
$blueprint->getEmailView(),
|
$blueprint->getEmailView(),
|
||||||
compact('notification', 'user'),
|
compact('blueprint', 'user'),
|
||||||
function (Message $message) use ($blueprint, $user) {
|
function (Message $message) use ($blueprint, $user) {
|
||||||
$message->to($user->email, $user->username)
|
$message->to($user->email, $user->username)
|
||||||
->subject($blueprint->getEmailSubject());
|
->subject($blueprint->getEmailSubject());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user