mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
MDL-43341 SCORM Report: spacer.gif must be managed with ->spacer
This commit is contained in:
parent
872f4e2899
commit
4c6bf7a9ff
1 changed files with 1 additions and 1 deletions
|
@ -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)))) {
|
if (($nextsco !== false) && ($sco->parent != $nextsco->parent) && (($level==0) || (($level>0) && ($nextsco->parent == $sco->identifier)))) {
|
||||||
$sublist++;
|
$sublist++;
|
||||||
} else {
|
} else {
|
||||||
$report .= '<img src="'.$OUTPUT->pix_url('spacer', 'scorm').'" alt="" />';
|
$report .= $OUTPUT->spacer(array("height" => "12", "width" => "13"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($sco->launch) {
|
if ($sco->launch) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue