MDL-20138 - convert &amp to ampersand symbol in Grades tooltip (for simple and full view).

This commit is contained in:
Rossiani Wijaya
2010-09-13 09:58:41 +00:00
parent b4a3af713f
commit b285c5aa42
+2 -2
View File
@@ -1153,7 +1153,7 @@ class grade_structure {
return $strparams;
}
$strparams->itemname = $element['object']->get_name();
$strparams->itemname = html_to_text($element['object']->get_name());
// If element name is categorytotal, get the name of the parent category
if ($strparams->itemname == get_string('categorytotal', 'grades')) {
@@ -1197,7 +1197,7 @@ class grade_structure {
}
$strparams = $this->get_params_for_iconstr($element);
$object = $element['object'];
switch ($element['type']) {