mirror of
https://github.com/moodle/moodle.git
synced 2025-04-27 11:23:06 +02:00
MDL-18223 removed repeated format_text() - should be applied only once
This commit is contained in:
parent
6acb6a3dde
commit
1e12b91217
@ -263,10 +263,10 @@ function print_user_entry($user, $keywords, $count) {
|
||||
$html .= '</td>';
|
||||
|
||||
foreach ($keywords as $keyword) {
|
||||
$user->description = format_text(highlight($keyword, $user->description), FORMAT_MOODLE);
|
||||
$user->description = highlight($keyword, $user->description);
|
||||
}
|
||||
|
||||
$html .= '<td align="left">'.$user->description.'</td>';
|
||||
$html .= '<td align="left">'.format_text($user->description, FORMAT_MOODLE).'</td>';
|
||||
$html .= '<td width="100px" align="center">';
|
||||
$html .= '<button onclick="del_user(this,'.$user->id.')">'.get_string('deleteuser', 'admin').'</button><br />';
|
||||
$html .= '<button onclick="ignore_user(this,'.$user->id.')">'.get_string('ignore', 'admin').'</button>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user