corrects SQL error at course creation

skala
Noel Dieschburg 13 years ago
parent 058c08bffe
commit b2c9eb5ac7
  1. 2
      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 "author varchar(255) not null default '', " . // stores the theme of the LP
"session_id int unsigned not null default 0, " . // the session_id "session_id int unsigned not null default 0, " . // the session_id
"prerequisite int unsigned not null default 0," . // pre requisite for next lp "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 "use_max_score int unsigned not null default 1, " . // max scores for scorm packages
"autolunch int unsigned not null default 0, " . // auto lunch LP "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 "created_on DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', " . // auto lunch LP

Loading…
Cancel
Save