Fixed MDL-8600 SQL Error with Postgres 7.4.16

This commit is contained in:
csantossaenz
2007-03-08 09:42:50 +00:00
parent fa730d469f
commit d5fedfa4a3
+9
View File
@@ -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
echo 'SCOID'.$scoid;
$scoid=$_GET['scoid'];
echo 'SCOID'.$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)) {