Skip to content
Browse files

Fixed an error in $score initialization

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

0 comments on commit a119ff9

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