Browse Source

[svn r11430] survey invitations based on survey code instead of survey id (to allow multi-language surveys)

Patrick Cool 18 years ago
parent
commit
08e0bbd488
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/add_course.lib.inc.php

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

@@ -1247,7 +1247,7 @@ function update_Db_course($courseDbName)
 
 	$sql = "CREATE TABLE `".$TABLESURVEYINVITATION."` (
 			  survey_invitation_id int unsigned NOT NULL auto_increment,
-			  survey_id int unsigned NOT NULL,
+			  survey_code varchar(20) NOT NULL,
 			  user varchar(250) NOT NULL,
 			  invitation_code varchar(250) NOT NULL,
 			  invitation_date datetime NOT NULL,