Browse Source

[svn r19124] Fixing SVN#19112

Julio Montoya 16 years ago
parent
commit
1d272d4ff0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      main/install/dokeos_main.sql
  2. 1 1
      main/install/migrate-db-1.8.5-1.8.6-pre.sql

+ 1 - 1
main/install/dokeos_main.sql

@@ -713,7 +713,7 @@ VALUES
 ('allow_message_tool', NULL, 'radio', 'Tools', 'false', 'AllowMessageToolTitle', 'AllowMessageToolComment', NULL, NULL,0),
 ('allow_social_tool', NULL, 'radio', 'Tools', 'false', 'AllowSocialToolTitle', 'AllowSocialToolComment', NULL, NULL, 0),
 ('allow_students_to_browse_courses',NULL,'radio','Platform','true','AllowStudentsToBrowseCoursesTitle','AllowStudentsToBrowseCoursesComment',NULL,NULL, 1),
-('show_email_of_teacher_or_tutor', NULL, 'radio', Platform,true,'ShowEmailOfTeacherOrTutorTitle','ShowEmailOfTeacherOrTutorComent',NULL,NULL,0),
+('show_email_of_teacher_or_tutor', NULL, 'radio', 'Platform','true','ShowEmailOfTeacherOrTutorTitle','ShowEmailOfTeacherOrTutorComent',NULL,NULL,0),
 ('dokeos_database_version', NULL, 'textfield', NULL,'1.8.6.19017','DokeosDatabaseVersion','',NULL,NULL,0); 
 UNLOCK TABLES;
 /*!40000 ALTER TABLE settings_current ENABLE KEYS */;

+ 1 - 1
main/install/migrate-db-1.8.5-1.8.6-pre.sql

@@ -123,7 +123,7 @@ CREATE TABLE session_field (id int NOT NULL auto_increment, field_type int NOT N
 CREATE TABLE session_field_values(id int NOT NULL auto_increment, session_id int NOT NULL, field_id int NOT NULL, field_value text, tms TIMESTAMP, PRIMARY KEY(id));
 ALTER TABLE templates ADD image VARCHAR( 250 ) NOT NULL ;
 INSERT IGNORE INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url, access_url_changeable) VALUES ('dokeos_database_version',NULL,'textfield',NULL,'1.8.6.19017','DokeosDatabaseVersion','',NULL,NULL,1,0);
-INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable) VALUES ('show_email_of_teacher_or_tutor', NULL, 'radio', Platform,true,'ShowEmailOfTeacherOrTutorTitle','ShowEmailOfTeacherOrTutorComent',NULL,NULL,0);
+INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, scope, subkeytext, access_url_changeable) VALUES ('show_email_of_teacher_or_tutor', NULL, 'radio', 'Platform','true','ShowEmailOfTeacherOrTutorTitle','ShowEmailOfTeacherOrTutorComent',NULL,NULL,0);
 INSERT INTO settings_options (variable, value, display_text) VALUES ('show_email_of_teacher_or_tutor ', 'true', 'Yes');
 INSERT INTO settings_options (variable, value, display_text) VALUES ('show_email_of_teacher_or_tutor ', 'false', 'No');