]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10557, adding format_string prior to return of grade item name in order to suppor...
authortoyomoyo <toyomoyo>
Fri, 27 Jul 2007 01:59:47 +0000 (01:59 +0000)
committertoyomoyo <toyomoyo>
Fri, 27 Jul 2007 01:59:47 +0000 (01:59 +0000)
lib/grade/grade_item.php

index 0dd3a3586ed339635dcf61408dd19e46f5b7427d..4a4c19b28a3bcbe0be06747e6263e9af21b92a03 100644 (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');