From: skodak Date: Tue, 17 Feb 2009 23:01:30 +0000 (+0000) Subject: MDL-18223 removed repeated format_text() - should be applied only once X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1e12b91217cd6c0d131f344b23bffa3044f09c18;p=moodle.git MDL-18223 removed repeated format_text() - should be applied only once --- diff --git a/admin/report/spamcleaner/index.php b/admin/report/spamcleaner/index.php index 0de8b33b74..7bd2d3623e 100755 --- a/admin/report/spamcleaner/index.php +++ b/admin/report/spamcleaner/index.php @@ -263,10 +263,10 @@ function print_user_entry($user, $keywords, $count) { $html .= ''; foreach ($keywords as $keyword) { - $user->description = format_text(highlight($keyword, $user->description), FORMAT_MOODLE); + $user->description = highlight($keyword, $user->description); } - $html .= ''.$user->description.''; + $html .= ''.format_text($user->description, FORMAT_MOODLE).''; $html .= ''; $html .= '
'; $html .= '';