Permalink
Browse files

fixed a typo in library call

  • Loading branch information...
1 parent b97b599 commit 6c60a57d319688f86639819c4e56eeb53f21f291 bobopinna committed Mar 12, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/scorm/datamodel.php
View
3 mod/scorm/datamodel.php
@@ -47,7 +47,7 @@
}
if (substr($element,0,15) == 'adl.nav.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@');
$replace = array('continue_', 'previous_', '\1', 'exit_', 'exitall_', 'abandon_', 'abandonall');
@@ -56,6 +56,7 @@
if ($action != $value) {
// Evaluating navigation request
$valid = scorm_sequencing_overall ($scoid,$USER->id,$action);
+ $valid = 'true';
// Set valid request
$search = array('@continue@', '@previous@', '@\{target=(\S+)\}choice@');

0 comments on commit 6c60a57

Please sign in to comment.