mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge branch '3.2.x'
* 3.2.x: [ticket/14893] Fix undefined variable on reporting PM notification
This commit is contained in:
commit
9744352053
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class report_pm extends \phpbb\notification\type\pm
|
||||||
*/
|
*/
|
||||||
public function get_email_template_variables()
|
public function get_email_template_variables()
|
||||||
{
|
{
|
||||||
$user_data = $this->user_loader->get_username($this->get_data('reporter_id'), 'no_profile');
|
$user_data = $this->user_loader->get_user($this->get_data('reporter_id'));
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'AUTHOR_NAME' => htmlspecialchars_decode($user_data['username']),
|
'AUTHOR_NAME' => htmlspecialchars_decode($user_data['username']),
|
||||||
|
|
Loading…
Add table
Reference in a new issue