MDL-27545 fix length of log action field - merged from 2.0 stable MDL-26880
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
// Log every datamodel update requested
|
||||
if (substr($element,0,15) == 'adl.nav.request' || substr($element,0,3) == 'cmi') {
|
||||
if (debugging('',DEBUG_DEVELOPER)) {
|
||||
add_to_log($course->id, 'scorm', 'trk: '.trim($scorm->name).' 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user