MDL-28649 SCORM fix force new attempt when skipview is used

This commit is contained in:
Dan Marsden
2011-08-12 12:44:16 +12:00
parent 7969f1ecf5
commit 666efc149a
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -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);
}
//