mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-17 16:58:51 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13223] Fix USERNAME email template variable in notification
This commit is contained in:
commit
10251b43db
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class admin_activate_user extends \phpbb\notification\type\base
|
||||||
public function get_email_template_variables()
|
public function get_email_template_variables()
|
||||||
{
|
{
|
||||||
$board_url = generate_board_url();
|
$board_url = generate_board_url();
|
||||||
$username = $this->user_loader->get_username($this->item_id, 'no_profile');
|
$username = $this->user_loader->get_username($this->item_id, 'username');
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'USERNAME' => htmlspecialchars_decode($username),
|
'USERNAME' => htmlspecialchars_decode($username),
|
||||||
|
|
Loading…
Add table
Reference in a new issue