diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2016-12-11 20:26:43 +0100 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2016-12-11 20:26:43 +0100 |
| commit | 3ed110446720da828949b0b0a4a41651583b2518 (patch) | |
| tree | 03c4bad36bebcd16dc69e18ba19c11d691304823 | |
| parent | 8c9d6add2ea20a2845eb1137be1607dfd00378c6 (diff) | |
| parent | fd95da909aff360c7c41c04ff2cadedb9ab2e222 (diff) | |
| download | forums-3ed110446720da828949b0b0a4a41651583b2518.tar forums-3ed110446720da828949b0b0a4a41651583b2518.tar.gz forums-3ed110446720da828949b0b0a4a41651583b2518.tar.bz2 forums-3ed110446720da828949b0b0a4a41651583b2518.tar.xz forums-3ed110446720da828949b0b0a4a41651583b2518.zip | |
Merge pull request #4562 from rxu/ticket/14893-3.2.x
[ticket/14893] Fix undefined variable on reporting PM notification
* rxu/ticket/14893-3.2.x:
[ticket/14893] Fix undefined variable on reporting PM notification
| -rw-r--r-- | phpBB/phpbb/notification/type/report_pm.php | 2 |
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']), |
