mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
Fixed an error in $score initialization
This commit is contained in:
parent
901011fd4d
commit
a119ff9ce3
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user