Permalink
Browse files

Firex MDL-8600. Added code to get the scoid which was missed

  • Loading branch information...
csantossaenz
csantossaenz committed Mar 8, 2007
1 parent f9d553c commit a46cf52d26a29ccbd1eb8e2dc8e6036328d39cad
Showing with 9 additions and 0 deletions.
  1. +9 −0 mod/scorm/player.php
View
@@ -14,6 +14,15 @@
$mode = optional_param('mode', 'normal', PARAM_ALPHA); // navigation mode
$currentorg = optional_param('currentorg', '', PARAM_RAW); // selected organization
$newattempt = optional_param('newattempt', 'off', PARAM_ALPHA); // the user request to start a new attempt
+
+ $scoid=$_GET['scoid'];
+
+
+ //$scoid=$_POST['scoid'];
+ //echo 'SCOID'.$scoid;
+ if ($sco1 = get_record("scorm_scoes", "id", $scoid,"parent",'/')) {
+ $scoid++;
+ }
if (!empty($id)) {
if (! $cm = get_coursemodule_from_id('scorm', $id)) {

0 comments on commit a46cf52

Please sign in to comment.