Skip to content

Commit

Permalink
MDL-43341 SCORM Report: spacer.gif must be managed with ->spacer
Browse files Browse the repository at this point in the history
  • Loading branch information
nobelium committed Mar 18, 2014
1 parent 2d9a0b8 commit 92d914e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/lib.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 92d914e

Please sign in to comment.