skip content structure page:MDL-11908: skip content structure page with multiple scos - if a teacher has set to skip, it should skip! - even with multiple scos. merged from HEAD
This commit is contained in:
@@ -710,7 +710,7 @@ function scorm_simple_play($scorm,$user) {
|
||||
|
||||
$scoes = get_records_select('scorm_scoes','scorm='.$scorm->id.' AND launch<>\''.sql_empty().'\'');
|
||||
|
||||
if ($scoes && (count($scoes) == 1)) {
|
||||
if ($scoes) {
|
||||
if ($scorm->skipview >= 1) {
|
||||
$sco = current($scoes);
|
||||
if (scorm_get_tracks($sco->id,$user->id) === false) {
|
||||
|
||||
Reference in New Issue
Block a user