From 76e9e1028fd9214192b3d606411d54361fcbebbe Mon Sep 17 00:00:00 2001 From: Nobelium Date: Fri, 14 Mar 2014 22:16:07 +0000 Subject: [PATCH] MDL-43341 SCORM Report: spacer.gif must be managed with $OUTPUT->spacer --- mod/scorm/lib.php | 2 +- mod/scorm/pix/spacer.gif | Bin 46 -> 0 bytes 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 mod/scorm/pix/spacer.gif diff --git a/mod/scorm/lib.php b/mod/scorm/lib.php index 9fa1994d2de..d1f32368494 100644 --- a/mod/scorm/lib.php +++ b/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 .= ''; + $report .= $OUTPUT->spacer(array("height" => "12", "width" => "13")); } if ($sco->launch) { diff --git a/mod/scorm/pix/spacer.gif b/mod/scorm/pix/spacer.gif deleted file mode 100644 index 628946b81c8836872572c55cd770d614c71622aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 46 ycmZ?wbhEHb*9!oa|w1H=pvt=F=gEauW{|XEM