mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix notification subject
This commit is contained in:
parent
9d660311f0
commit
dc08ced6c9
@ -79,11 +79,8 @@ class NotificationMailer
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$email = new Email();
|
|
||||||
$email
|
|
||||||
->subject($notification->getTitle());
|
|
||||||
|
|
||||||
if ($notification->isSystem()) {
|
if ($notification->isSystem()) {
|
||||||
|
$email = new Email();
|
||||||
$email
|
$email
|
||||||
->text($notification->getMessage());
|
->text($notification->getMessage());
|
||||||
} else {
|
} else {
|
||||||
@ -96,7 +93,9 @@ class NotificationMailer
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$email->to($addressee->getEmail());
|
$email
|
||||||
|
->subject($notification->getTitle())
|
||||||
|
->to($addressee->getEmail());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$this->mailer->send($email);
|
$this->mailer->send($email);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user