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

Merge remote-tracking branch 'EXreaction/ticket/11423' into develop

# By Nathaniel Guse
# Via Nathaniel Guse
* EXreaction/ticket/11423:
  [ticket/11423] Send unformatted usernames to the email template
This commit is contained in:
David King 2013-03-09 18:38:05 -05:00
commit 606e392d40
2 changed files with 2 additions and 2 deletions
phpBB/includes/notification/type

@ -216,7 +216,7 @@ class phpbb_notification_type_post extends phpbb_notification_type_base
}
else
{
$username = $this->user_loader->get_username($this->get_data('poster_id'), 'no_profile');
$username = $this->user_loader->get_username($this->get_data('poster_id'), 'username');
}
return array(

@ -178,7 +178,7 @@ class phpbb_notification_type_topic extends phpbb_notification_type_base
}
else
{
$username = $this->user_loader->get_username($this->get_data('poster_id'), 'no_profile');
$username = $this->user_loader->get_username($this->get_data('poster_id'), 'username');
}
return array(