Corrects SQL error at course creation

skala
Noel Dieschburg 13 years ago
parent 7aa2fb1ca0
commit 1e1a25e3a4
  1. 4
      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

Loading…
Cancel
Save