Permalink
Browse files

PULL-498 - Fixed potential issues about UTF-8 and multilang filter by…

… adopting pure ASCII chars, the SCO primary key
  • Loading branch information...
scara authored and danmarsden committed Mar 21, 2011
1 parent 0ec0224 commit 74ef6bd82df2454313d9d94cb0c6204addd43e1e
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/scorm/datamodel.php
View
@@ -72,7 +72,7 @@
// Log every datamodel update requested
if (substr($element,0,15) == 'adl.nav.request' || substr($element,0,3) == 'cmi') {
if (scorm_debugging($scorm)) {
- add_to_log($course->id, 'scorm', 'trk: '.substr(trim($scorm->name), 0, 25).' at: '.$attempt, 'view.php?id='.$cm->id, "$element => $value", $cm->id);
+ add_to_log($course->id, 'scorm', 'trk: scoid/'.$scoid.' at: '.$attempt, 'view.php?id='.$cm->id, "$element => $value", $cm->id);
}
}
}

0 comments on commit 74ef6bd

Please sign in to comment.