Forráskód Böngészése

corrects SQL error at course creation

Noel Dieschburg 13 éve
szülő
commit
b2c9eb5ac7
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      main/inc/lib/add_course.lib.inc.php

+ 1 - 1
main/inc/lib/add_course.lib.inc.php

@@ -1218,7 +1218,7 @@ function update_Db_course($course_db_name) {
         "author         varchar(255)        not null default '', " .        // stores the theme of the LP
         "session_id     int unsigned        not null default 0, " .         // the session_id
 	"prerequisite  	int	unsigned not null  default 0," . // pre requisite for next lp
-        "hide_toc_frame tinyint NOT NULL DEFAULT 0".
+        "hide_toc_frame tinyint NOT NULL DEFAULT 0,".
         "use_max_score  int unsigned        not null default 1, " .         // max scores for scorm packages
         "autolunch      int unsigned        not null default 0, " .          // auto lunch LP
         "created_on     DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', " .          // auto lunch LP