MDL-10557, adding format_string prior to return of grade item name in order to support multilang filger

This commit is contained in:
toyomoyo
2007-07-27 01:59:47 +00:00
parent 6287423e4a
commit b0e1ed348a
+2 -1
View File
@@ -1041,7 +1041,8 @@ class grade_item extends grade_object {
*/
function get_name() {
if (!empty($this->itemname)) {
return $this->itemname;
// MDL-10557
return format_string($this->itemname);
} else if ($this->is_course_item()) {
return get_string('total');