Permalink
Browse files

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

  • Loading branch information...
1 parent 2d9a0b8 commit 92d914e13d98ea4e306cf683d712254ee2f17733 @nobelium nobelium committed Mar 18, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/lib.php
View
@@ -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) {

0 comments on commit 92d914e

Please sign in to comment.