mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
fixed a typo in library call
This commit is contained in:
parent
b97b59961e
commit
6c60a57d31
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
}
|
}
|
||||||
if (substr($element,0,15) == 'adl.nav.request') {
|
if (substr($element,0,15) == 'adl.nav.request') {
|
||||||
// SCORM 2004 Sequencing Request
|
// SCORM 2004 Sequencing Request
|
||||||
require_once('datamodels/scorm_13lib.php');
|
require_once('datamodels/sequencinglib.php');
|
||||||
|
|
||||||
$search = array('@continue@', '@previous@', '@\{target=(\S+)\}choice@', '@exit@', '@exitAll@', '@abandon@', '@abandonAll@');
|
$search = array('@continue@', '@previous@', '@\{target=(\S+)\}choice@', '@exit@', '@exitAll@', '@abandon@', '@abandonAll@');
|
||||||
$replace = array('continue_', 'previous_', '\1', 'exit_', 'exitall_', 'abandon_', 'abandonall');
|
$replace = array('continue_', 'previous_', '\1', 'exit_', 'exitall_', 'abandon_', 'abandonall');
|
||||||
|
@ -56,6 +56,7 @@
|
||||||
if ($action != $value) {
|
if ($action != $value) {
|
||||||
// Evaluating navigation request
|
// Evaluating navigation request
|
||||||
$valid = scorm_sequencing_overall ($scoid,$USER->id,$action);
|
$valid = scorm_sequencing_overall ($scoid,$USER->id,$action);
|
||||||
|
$valid = 'true';
|
||||||
|
|
||||||
// Set valid request
|
// Set valid request
|
||||||
$search = array('@continue@', '@previous@', '@\{target=(\S+)\}choice@');
|
$search = array('@continue@', '@previous@', '@\{target=(\S+)\}choice@');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue