MDL-43341 SCORM Report: spacer.gif must be managed with ->spacer

This commit is contained in:
Nobelium
2014-03-18 19:40:58 +00:00
parent 2d9a0b8f39
commit 92d914e13d
+1 -1
View File
@@ -444,7 +444,7 @@ function scorm_user_complete($course, $user, $mod, $scorm) {
if (($nextsco !== false) && ($sco->parent != $nextsco->parent) && (($level==0) || (($level>0) && ($nextsco->parent == $sco->identifier)))) {
$sublist++;
} else {
$report .= '<img src="'.$OUTPUT->pix_url('spacer', 'scorm').'" alt="" />';
$report .= $OUTPUT->spacer(array("height" => "12", "width" => "13"));
}
if ($sco->launch) {