mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
MDL-30577, fixing cmi.credit, cmi.mode are not evaluated correctly
This commit is contained in:
parent
d0e016f53f
commit
ab94be6bd1
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ if ($usertrack = scorm_get_tracks($scoid, $USER->id, $attempt)) {
|
|||
$userdata->student_id = addslashes_js($USER->username);
|
||||
$userdata->student_name = addslashes_js($USER->lastname .', '. $USER->firstname);
|
||||
$userdata->mode = 'normal';
|
||||
if (isset($mode)) {
|
||||
if (!empty($mode)) {
|
||||
$userdata->mode = $mode;
|
||||
}
|
||||
if ($userdata->mode == 'normal') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue