mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-42835-master' of http://github.com/damyon/moodle
This commit is contained in:
commit
1a32e1d446
@ -1403,7 +1403,8 @@ function scorm_format_duration($duration) {
|
||||
function scorm_get_toc_object($user, $scorm, $currentorg='', $scoid='', $mode='normal', $attempt='', $play=false, $organizationsco=null) {
|
||||
global $CFG, $DB, $PAGE, $OUTPUT;
|
||||
|
||||
$modestr = '';
|
||||
// Always pass the mode even if empty as that is what is done elsewhere and the urls have to match.
|
||||
$modestr = '&mode=';
|
||||
if ($mode != 'normal') {
|
||||
$modestr = '&mode='.$mode;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user