]> git.mjollnir.org Git - moodle.git/commitdiff
Added utf8 conversion
authorbobopinna <bobopinna>
Wed, 12 Apr 2006 06:15:29 +0000 (06:15 +0000)
committerbobopinna <bobopinna>
Wed, 12 Apr 2006 06:15:29 +0000 (06:15 +0000)
mod/scorm/aicc.php

index 450b46761687eef42306df665b7017fdf42283c9..dc107e8501f6d8d1537be41be7c55451fc4209bf 100755 (executable)
                                         $element = $datamodel[strtolower(trim($datarow))];
                                         $value = '';
                                         while ((($datarow = current($datarows)) !== false) && (substr($datarow,0,1) != '[')) {
-                                            $value .= $datarow;
+                                            $value .= scorm_utf8_to_entities(datarow);
                                             next($datarows);
                                         }
                                         $id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value);