aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_board.php
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2016-06-18 00:26:54 +0700
committerrxu <rxu@mail.ru>2016-06-18 00:39:33 +0700
commit9551475fcee77cc559f5b7d0424358d874cdfd9c (patch)
tree8352ed69b5c40865532526a291a6b4dca562e105 /phpBB/includes/acp/acp_board.php
parent6a73188e6a194d268958251c184cd9a29b9f02ef (diff)
downloadforums-9551475fcee77cc559f5b7d0424358d874cdfd9c.tar
forums-9551475fcee77cc559f5b7d0424358d874cdfd9c.tar.gz
forums-9551475fcee77cc559f5b7d0424358d874cdfd9c.tar.bz2
forums-9551475fcee77cc559f5b7d0424358d874cdfd9c.tar.xz
forums-9551475fcee77cc559f5b7d0424358d874cdfd9c.zip
[ticket/14660] Fix parsing board email messages through template engine.
PHPBB3-14660
Diffstat (limited to 'phpBB/includes/acp/acp_board.php')
-rw-r--r--phpBB/includes/acp/acp_board.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php
index f08f5356c8..7e42cc3d26 100644
--- a/phpBB/includes/acp/acp_board.php
+++ b/phpBB/includes/acp/acp_board.php
@@ -642,6 +642,9 @@ class acp_board
$messenger->template('test');
$messenger->set_addresses($user->data);
$messenger->anti_abuse_headers($config, $user);
+ $messenger->assign_vars(array(
+ 'USERNAME' => htmlspecialchars_decode($user->data['username']),
+ ));
$messenger->send(NOTIFY_EMAIL);
trigger_error($user->lang('TEST_EMAIL_SENT') . adm_back_link($this->u_action));