fix(email): lock templates to built-in catalog
This commit is contained in:
1 parent
3f02048bc5
commit
129eb25078
10 files changed
+61
-111
No files matched your search
@@ -192,7 +192,7 @@ final class MailNotifications {
|
||||
private static function send(string $event, string $to, array $vars): void {
|
||||
$placeholders = [];
|
||||
foreach ($vars as $key => $value) $placeholders['{' . $key . '}'] = (string) $value;
|
||||
Mail::send_event_email($event, $to, '', '', $placeholders);
|
||||
Mail::send_event_email($event, $to, $placeholders);
|
||||
}
|
||||
|
||||
/** @param array<string,mixed> $vars */
|
||||
|
||||
Reference in new issue
Block a user