[ticket/17299] Allow event to modify email core vars before sending a message

PHPBB3-17299
This commit is contained in:
rxu 2024-03-31 09:55:57 +07:00
parent b2459edaf3
commit b38e8a2c84
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -582,6 +582,11 @@ class messenger
); );
extract($phpbb_dispatcher->trigger_event('core.notification_message_email', compact($vars))); 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) if ($break)
{ {
return true; return true;