Browse Source

Corrects SQL error at course creation

Noel Dieschburg 13 years ago
parent
commit
1e1a25e3a4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/inc/lib/add_course.lib.inc.php

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

@@ -1218,8 +1218,8 @@ 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".
-        "seriousgame_mode tinyint NOT NULL DEFAULT 0".
+	"hide_toc_frame tinyint NOT NULL DEFAULT 0, ".
+        "seriousgame_mode tinyint NOT NULL DEFAULT 0, ".
         "use_max_score  int unsigned        not null default 1, " .
         "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