Permalink
Browse files

Fixed an error in $score initialization

  • Loading branch information...
1 parent 753f1af commit 348355c4b8df35f0ddca21e3097dd14424da6422 bobopinna committed Jan 18, 2007
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/scorm/report.php
View
@@ -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';

0 comments on commit 348355c

Please sign in to comment.