Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed an error in $score initialization

  • Loading branch information...
commit a119ff9ce3be5034db8c320a69641891ccfd1604 1 parent 901011f
bobopinna authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  mod/scorm/report.php
3  mod/scorm/report.php
@@ -173,11 +173,10 @@
173 173 foreach ($scoes as $sco) {
174 174 if ($sco->launch!='') {
175 175 $row = array();
  176 + $score = ' ';
176 177 if ($trackdata = scorm_get_tracks($sco->id,$user,$attempt)) {
177 178 if ($trackdata->score_raw != '') {
178 179 $score = $trackdata->score_raw;
179   - } else {
180   - $score = ' ';
181 180 }
182 181 if ($trackdata->status == '') {
183 182 $trackdata->status = 'notattempted';

0 comments on commit a119ff9

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