Permalink
Browse files

Fixed bug MDL-8161 also here

  • Loading branch information...
1 parent 4bdf76a commit ff6bc9fbc260ffd94197c54ea4c618325d4934cc bobopinna committed Mar 15, 2007
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/scorm/report.php
@@ -264,7 +264,7 @@
$printedelements[]=$element;
$row = array();
$row[] = get_string($key,'scorm');
- $row[] = $trackdata->$element;
+ $row[] = s($trackdata->$element);
$table->data[] = $row;
}
}
@@ -299,7 +299,7 @@
$row = array();
foreach ($elements as $element) {
if (isset($trackdata->$element)) {
- $row[] = $trackdata->$element;
+ $row[] = s($trackdata->$element);
$printedelements[]=$element;
} else {
$row[] = ' ';
@@ -344,7 +344,7 @@
$row = array();
foreach ($elements as $element) {
if (isset($trackdata->$element)) {
- $row[] = $trackdata->$element;
+ $row[] = s($trackdata->$element);
$printedelements[]=$element;
} else {
$row[] = ' ';

0 comments on commit ff6bc9f

Please sign in to comment.