[ticket/11292] Fix: Newlines removed in display of PM reports

Report text is run through make_clickable and bbcode_nl2br for PMs
just as it is for posts.

PHPBB3-11292
This commit is contained in:
Martin Beckmann 2012-12-24 03:53:54 +01:00
parent c701de695f
commit 5056f16235

View file

@ -123,6 +123,7 @@ class mcp_pm_reports
$message = bbcode_nl2br($message);
$message = smiley_text($message);
$report['report_text'] = make_clickable(bbcode_nl2br($report['report_text']));
if ($pm_info['message_attachment'] && $auth->acl_get('u_pm_download'))
{