From e595877cdeb28764b63f01006b95e93e430d081f Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 22 Nov 2006 18:13:15 +0100 Subject: [PATCH] [svn r10122] Changing default force_commit to 0 --- main/newscorm/scorm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/newscorm/scorm.class.php b/main/newscorm/scorm.class.php index c8b111daa6..c7eb357a4f 100644 --- a/main/newscorm/scorm.class.php +++ b/main/newscorm/scorm.class.php @@ -382,7 +382,7 @@ class scorm extends learnpath { //error_log('New LP - Converting name from '.$this->manifest_encoding.' to ISO-8859-1',0); } $sql = "INSERT INTO $new_lp (lp_type, name, ref, description, path, force_commit, default_view_mod, default_encoding, js_lib)" . - "VALUES (2,'".$myname."', '".$oOrganization->get_ref()."','','".$this->subdir."', 1, 'embedded', '".$this->manifest_encoding."','scorm_api.php')"; + "VALUES (2,'".$myname."', '".$oOrganization->get_ref()."','','".$this->subdir."', 0, 'embedded', '".$this->manifest_encoding."','scorm_api.php')"; if($this->debug>1){error_log('New LP - In import_manifest(), inserting path: '. $sql,0);} $res = api_sql_query($sql,__FILE__,__LINE__); $lp_id = Database::get_last_insert_id();