mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Added utf8 conversion
This commit is contained in:
parent
9ff41f7ed0
commit
008bfd2795
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@
|
||||||
$element = $datamodel[strtolower(trim($datarow))];
|
$element = $datamodel[strtolower(trim($datarow))];
|
||||||
$value = '';
|
$value = '';
|
||||||
while ((($datarow = current($datarows)) !== false) && (substr($datarow,0,1) != '[')) {
|
while ((($datarow = current($datarows)) !== false) && (substr($datarow,0,1) != '[')) {
|
||||||
$value .= $datarow;
|
$value .= scorm_utf8_to_entities(datarow);
|
||||||
next($datarows);
|
next($datarows);
|
||||||
}
|
}
|
||||||
$id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value);
|
$id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue