Merge branch 'm29_MDL-49647' of https://github.com/danmarsden/moodle into MOODLE_29_STABLE
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user