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 872f4e2899
commit 4c6bf7a9ff

View file

@ -449,7 +449,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) {