mirror of
https://github.com/moodle/moodle.git
synced 2025-06-02 06:05:31 +02:00
Merge branch 'master_MDL-49647' of https://github.com/danmarsden/moodle
This commit is contained in:
commit
eb2b84d6d2
@ -1092,7 +1092,7 @@ function scorm_reconstitute_array_element($sversion, $userdata, $elementname, $c
|
||||
$return .= ' '.$subelement." = new Object();\n";
|
||||
}
|
||||
|
||||
$return .= ' '.$element.' = \''.$value."';\n";
|
||||
$return .= ' '.$element.' = '.json_encode($value).";\n";
|
||||
}
|
||||
if ($countsub > 0) {
|
||||
$return .= ' '.$elementname.$scormseperator.$current.'.'.$currentsubelement.'._count = '.$countsub.";\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user