aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 29d52406da..4dfd58e28c 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -2429,11 +2429,11 @@ function view_log($mode, &$log, &$log_count, $limit = 0, $offset = 0, $forum_id
// If within the admin panel we do not censor text out
if (defined('IN_ADMIN'))
{
- $log[$i]['action'] = str_replace("\n", '<br />', $log[$i]['action']);
+ $log[$i]['action'] = bbcode_nl2br($log[$i]['action']);
}
else
{
- $log[$i]['action'] = str_replace("\n", '<br />', censor_text($log[$i]['action']));
+ $log[$i]['action'] = bbcode_nl2br(censor_text($log[$i]['action']));
}
}
else