aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2016-12-06 23:42:49 +0700
committerrxu <rxu@mail.ru>2016-12-07 00:38:45 +0700
commitfd95da909aff360c7c41c04ff2cadedb9ab2e222 (patch)
treed0f53491b93fdd605052b45a0d52fd559694f26e /phpBB
parent129bfd5e62ed56edc9641795ca5d28059d181d88 (diff)
downloadforums-fd95da909aff360c7c41c04ff2cadedb9ab2e222.tar
forums-fd95da909aff360c7c41c04ff2cadedb9ab2e222.tar.gz
forums-fd95da909aff360c7c41c04ff2cadedb9ab2e222.tar.bz2
forums-fd95da909aff360c7c41c04ff2cadedb9ab2e222.tar.xz
forums-fd95da909aff360c7c41c04ff2cadedb9ab2e222.zip
[ticket/14893] Fix undefined variable on reporting PM notification
PHPBB3-14893
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/notification/type/report_pm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/report_pm.php b/phpBB/phpbb/notification/type/report_pm.php
index 239805204c..7e53ffb3ca 100644
--- a/phpBB/phpbb/notification/type/report_pm.php
+++ b/phpBB/phpbb/notification/type/report_pm.php
@@ -142,7 +142,7 @@ class report_pm extends \phpbb\notification\type\pm
*/
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(
'AUTHOR_NAME' => htmlspecialchars_decode($user_data['username']),