From 348355c4b8df35f0ddca21e3097dd14424da6422 Mon Sep 17 00:00:00 2001 From: bobopinna Date: Thu, 18 Jan 2007 20:32:33 +0000 Subject: [PATCH] Fixed an error in $score initialization --- mod/scorm/report.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/scorm/report.php b/mod/scorm/report.php index 8141bab6e53..7e471159fa9 100755 --- a/mod/scorm/report.php +++ b/mod/scorm/report.php @@ -171,11 +171,10 @@ foreach ($scoes as $sco) { if ($sco->launch!='') { $row = array(); + $score = ' '; if ($trackdata = scorm_get_tracks($sco->id,$user,$attempt)) { if ($trackdata->score_raw != '') { $score = $trackdata->score_raw; - } else { - $score = ' '; } if ($trackdata->status == '') { $trackdata->status = 'notattempted';