From: csantossaenz Date: Thu, 8 Mar 2007 12:41:43 +0000 (+0000) Subject: Firex MDL-8600. Added code to get the scoid which was missed X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a46cf52d26a29ccbd1eb8e2dc8e6036328d39cad;p=moodle.git Firex MDL-8600. Added code to get the scoid which was missed --- diff --git a/mod/scorm/player.php b/mod/scorm/player.php index d3918ab864..0756e8d3df 100755 --- a/mod/scorm/player.php +++ b/mod/scorm/player.php @@ -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)) {