diff --git a/swad_changelog.h b/swad_changelog.h index 68a1f828b..5085ea706 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -600,13 +600,15 @@ TODO: Salvador Romero Cort TODO: FIX BUG, URGENT! En las fechas como parámetro Dat_WriteParamsIniEndDates(), por ejemplo al cambiar el color de la gráfica de accesos por día y hora, no se respeta la zona horaria. */ -#define Log_PLATFORM_VERSION "SWAD 20.67.4 (2021-04-25)" +#define Log_PLATFORM_VERSION "SWAD 20.67.6 (2021-04-25)" #define CSS_FILE "swad20.45.css" #define JS_FILE "swad20.6.2.js" /* TODO: Rename CENTRE to CENTER in help wiki. TODO: Rename ASSESSMENT.Announcements to ASSESSMENT.Calls_for_exams + Version 20.67.6: Apr 25, 2021 Fixed bug in surveys. (309672 lines) + Version 20.67.5: Apr 25, 2021 Fixed bug in search of courses. (309671 lines) Version 20.67.4: Apr 25, 2021 New file extensions for LogicWorks, reported by Eva Martínez Ortigosa. (309670 lines) Copy the following icons to icon public directory: sudo cp icon/filext32x32/cct32x32.gif /var/www/html/swad/icon/filext32x32/ diff --git a/swad_search.c b/swad_search.c index c63d6f68b..ea5958d26 100644 --- a/swad_search.c +++ b/swad_search.c @@ -644,7 +644,7 @@ static unsigned Sch_SearchCoursesInDB (const char *RangeQuery) "%s" " ORDER BY crs_courses.FullName," "ins_instits.FullName," - "degrees.FullName," + "deg_degrees.FullName," "crs_courses.Year", SearchQuery,RangeQuery); Crs_ListCrssFound (&mysql_res,NumCrss); diff --git a/swad_survey.c b/swad_survey.c index edbd9782b..ba0e74b20 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -1307,7 +1307,7 @@ void Svy_GetDataOfSurveyByCod (struct Svy_Survey *Svy) Svy->Status.Open = (row[8][0] == '1'); /* Get the title of the survey (row[9]) */ - Str_Copy (Svy->Title,row[9],strlen (Svy->Title) - 1); + Str_Copy (Svy->Title,row[9],sizeof (Svy->Title) - 1); /* Get number of questions and number of users who have already answer this survey */ Svy->NumQsts = Svy_GetNumQstsSvy (Svy->SvyCod);