Version 20.67.6: Apr 25, 2021 Fixed bug in surveys.

This commit is contained in:
acanas 2021-04-25 21:18:22 +02:00
parent 06f12acde8
commit 6f3eec35ea
3 changed files with 5 additions and 3 deletions

View File

@ -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/

View File

@ -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);

View File

@ -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);