MDL-43341 SCORM Report: spacer.gif must be managed with ->spacer
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user