aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-10-22 23:00:59 +0100
committerCallum Macrae <callum@lynxphp.com>2011-10-22 23:03:49 +0100
commit87953628798c819c1436228f213d8528b89586cd (patch)
tree82011c9ede8d92fd32fa0aa05e5a1bb79a64e4d7 /phpBB
parentcfb51358058e30e4303c1fdc10920c98a568871d (diff)
downloadforums-87953628798c819c1436228f213d8528b89586cd.tar
forums-87953628798c819c1436228f213d8528b89586cd.tar.gz
forums-87953628798c819c1436228f213d8528b89586cd.tar.bz2
forums-87953628798c819c1436228f213d8528b89586cd.tar.xz
forums-87953628798c819c1436228f213d8528b89586cd.zip
[ticket/10402] Fixed a formatting issue with report details.
Line returns were being removed and links weren't being made clickable. This commit adds a line (contributed by AmigoJack) to retain the link breaks and make links clickable. PHPBB3-10402
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/mcp/mcp_reports.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php
index 39d9fbd4af..def5422be2 100644
--- a/phpBB/includes/mcp/mcp_reports.php
+++ b/phpBB/includes/mcp/mcp_reports.php
@@ -148,6 +148,7 @@ class mcp_reports
$message = bbcode_nl2br($message);
$message = smiley_text($message);
+ $report['report_text'] = make_clickable(bbcode_nl2br($report['report_text']));
if ($post_info['post_attachment'] && $auth->acl_get('u_download') && $auth->acl_get('f_download', $post_info['forum_id']))
{