SCORM MDL-25298 escape html vars correctly - thanks to Xavier Paz for report/fix merged from HEAD
This commit is contained in:
+1
-1
@@ -343,7 +343,7 @@ function scorm_user_complete($course, $user, $mod, $scorm) {
|
||||
$report .= "\t\t\t<li><ul class='$liststyle'>\n";
|
||||
foreach($usertrack as $element => $value) {
|
||||
if (substr($element,0,3) == 'cmi') {
|
||||
$report .= '<li>'.$element.' => '.$value.'</li>';
|
||||
$report .= '<li>'.$element.' => '.s($value).'</li>';
|
||||
}
|
||||
}
|
||||
$report .= "\t\t\t</ul></li>\n";
|
||||
|
||||
Reference in New Issue
Block a user