MDL-28649 SCORM fix force new attempt when skipview is used
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ $pagetitle = strip_tags($course->shortname.': '.format_string($scorm->name));
|
||||
add_to_log($course->id, 'scorm', 'pre-view', 'view.php?id='.$cm->id, "$scorm->id", $cm->id);
|
||||
|
||||
if ((has_capability('mod/scorm:skipview', $contextmodule))) {
|
||||
scorm_simple_play($scorm, $USER, $contextmodule);
|
||||
scorm_simple_play($scorm, $USER, $contextmodule, $cm->id);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user