From a119ff9ce3be5034db8c320a69641891ccfd1604 Mon Sep 17 00:00:00 2001 From: bobopinna Date: Thu, 18 Jan 2007 20:33:59 +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 654883ea89a..f9ad455b7eb 100755 --- a/mod/scorm/report.php +++ b/mod/scorm/report.php @@ -173,11 +173,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';