Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 76e9e1028fd9214192b3d606411d54361fcbebbe 1 parent c0e8812
@nobelium nobelium authored
View
2  mod/scorm/lib.php
@@ -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) {
View
BIN  mod/scorm/pix/spacer.gif
Deleted file not rendered
Please sign in to comment.
Something went wrong with that request. Please try again.