diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-10-08 21:23:54 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-10-08 21:23:54 +0200 |
commit | 8bdb2ce6ba6c2caef6a74b2308c81027de19b209 (patch) | |
tree | d73d8412f0eb3fd48f7ace5b0006bde0fab38525 | |
parent | cd17633235fd62c057fe0d4ce8c1b244b161377b (diff) | |
parent | 072572381353b4c4a25acae306122ef43914fd72 (diff) | |
download | forums-8bdb2ce6ba6c2caef6a74b2308c81027de19b209.tar forums-8bdb2ce6ba6c2caef6a74b2308c81027de19b209.tar.gz forums-8bdb2ce6ba6c2caef6a74b2308c81027de19b209.tar.bz2 forums-8bdb2ce6ba6c2caef6a74b2308c81027de19b209.tar.xz forums-8bdb2ce6ba6c2caef6a74b2308c81027de19b209.zip |
Merge pull request #5220 from senky/ticket/15662
[ticket/15662] Add $this->template to core.modify_notification_message
-rw-r--r-- | phpBB/includes/functions_messenger.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index a85a3b67c5..fdd1dc6e32 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -327,6 +327,7 @@ class messenger $subject = $this->subject; $message = $this->msg; + $template = $this->template; /** * Event to modify notification message text before parsing * @@ -336,13 +337,16 @@ class messenger * and the message without sending it * @var string subject The message subject * @var string message The message text + * @var \phpbb\template\template template Template object * @since 3.1.11-RC1 + * @changed 3.2.4-RC1 Added template */ $vars = array( 'method', 'break', 'subject', 'message', + 'template', ); extract($phpbb_dispatcher->trigger_event('core.modify_notification_message', compact($vars))); $this->subject = $subject; |