-
Type:
Improvement
-
Status: Unverified Fix (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.9
-
Fix Version/s: 3.0.10-RC1
-
Component/s: Moderator Control Panel (MCP)
-
Labels:None
-
Environment:PHP 5.3.1, Opera 11.51
-
GitHub Pull Request URL:
When a moderator reads a report he sees the optional text of the reporter. However, linebreaks entered by the reporter aren't displayed (because HTML eats those as whitespaces). Also, if the text contains links those are not automatically made clickable.
The fix/improvement is easy: in /includes/mcp/mcp_reports.php find:
$message = smiley_text($message);
|
$report['report_text']= make_clickable( bbcode_nl2br( $report['report_text'] ) );
|