MDL-16892 Fixed bug in accesslib role_fix_names method
This commit is contained in:
+1
-1
@@ -5212,7 +5212,7 @@ function role_fix_names($roleoptions, $context, $rolenamedisplay=ROLENAME_ALIAS)
|
||||
}
|
||||
}
|
||||
foreach ($roleoptions as $rid => $name) {
|
||||
$roleoptions[$rid] = strip_tags($name);
|
||||
$roleoptions[$rid] = strip_tags(format_string($name));
|
||||
}
|
||||
return $roleoptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user