Skip to content
Browse files

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

  • Loading branch information...
1 parent c0e8812 commit 76e9e1028fd9214192b3d606411d54361fcbebbe @nobelium nobelium committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/lib.php
  2. BIN mod/scorm/pix/spacer.gif
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

0 comments on commit 76e9e10

Please sign in to comment.
Something went wrong with that request. Please try again.