aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorMartin Beckmann <gn#36@phpbb.de>2012-12-24 03:53:54 +0100
committerMartin Beckmann <gn#36@phpbb.de>2012-12-24 04:16:08 +0100
commit5056f162351420440bf989d0b1cfc6c325499f7a (patch)
tree5dd9c7c38be968113e66710f1c308d8776e9f10d /phpBB/includes/mcp
parentc701de695f33d78e99517b9213eb06a95e57f9a0 (diff)
downloadforums-5056f162351420440bf989d0b1cfc6c325499f7a.tar
forums-5056f162351420440bf989d0b1cfc6c325499f7a.tar.gz
forums-5056f162351420440bf989d0b1cfc6c325499f7a.tar.bz2
forums-5056f162351420440bf989d0b1cfc6c325499f7a.tar.xz
forums-5056f162351420440bf989d0b1cfc6c325499f7a.zip
[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
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_pm_reports.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_pm_reports.php b/phpBB/includes/mcp/mcp_pm_reports.php
index 72f77fae7c..77bc7680e6 100644
--- a/phpBB/includes/mcp/mcp_pm_reports.php
+++ b/phpBB/includes/mcp/mcp_pm_reports.php
@@ -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'))
{