1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-07 06:55:25 +02:00

Merge pull request #6592 from rxu/ticket/17299

[ticket/17299] Allow event to modify email core vars before sending a message
This commit is contained in:
Marc Alexander 2024-04-10 16:37:35 +02:00
commit adf53d3264
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -582,6 +582,11 @@ class messenger
);
extract($phpbb_dispatcher->trigger_event('core.notification_message_email', compact($vars)));
$this->addresses = $addresses;
$this->subject = $subject;
$this->msg = $msg;
unset($addresses, $subject, $msg);
if ($break)
{
return true;