Version 20.67.11: Apr 26, 2021 Fixed bug in departments.

This commit is contained in:
acanas 2021-04-26 01:49:57 +02:00
parent 7e2f9253a0
commit 660147563c
3 changed files with 5 additions and 3 deletions

View File

@ -1587,7 +1587,7 @@ static void Asg_UpdateNumUsrsNotifiedByEMailAboutAssignment (long AsgCod,unsigne
{
/***** Update number of users notified *****/
DB_QueryUPDATE ("can not update the number of notifs. of an assignment",
"UPDATE asg_ssignments"
"UPDATE asg_assignments"
" SET NumNotif=NumNotif+%u"
" WHERE AsgCod=%ld",
NumUsrsToBeNotifiedByEMail,

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.9 (2021-04-25)"
#define Log_PLATFORM_VERSION "SWAD 20.67.11 (2021-04-26)"
#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.11: Apr 26, 2021 Fixed bug in departments. (309677 lines)
Version 20.67.10: Apr 25, 2021 Fixed bug in notification about new assignment, reported by Eva Martínez Ortigosa. (? lines)
Version 20.67.9: Apr 25, 2021 Fixed bug in users' works, reported by Eva Martínez Ortigosa. (309675 lines)
Version 20.67.8: Apr 25, 2021 Fixed bug in groups. (309674 lines)
Version 20.67.7: Apr 25, 2021 Fixed bug in search of files. (309673 lines)

View File

@ -1131,7 +1131,7 @@ unsigned Dpt_GetNumDptsInIns (long InsCod)
Gbl.Cache.NumDptsInIns.NumDpts = (unsigned)
DB_QueryCOUNT ("can not get number of departments in an institution",
"SELECT COUNT(*)"
" FROM departments"
" FROM dpt_departments"
" WHERE InsCod=%ld",
InsCod);
return Gbl.Cache.NumDptsInIns.NumDpts;