Skip to content

Commit

Permalink
MDL-20138 - convert &amp to ampersand symbol in Grades tooltip (for s…
Browse files Browse the repository at this point in the history
…imple and full view).
  • Loading branch information
rwijaya committed Sep 13, 2010
1 parent b4a3af7 commit b285c5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grade/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ public function get_params_for_iconstr($element) {
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')) {
Expand Down Expand Up @@ -1197,7 +1197,7 @@ public function get_edit_icon($element, $gpr) {
}

$strparams = $this->get_params_for_iconstr($element);

$object = $element['object'];

switch ($element['type']) {
Expand Down

0 comments on commit b285c5a

Please sign in to comment.