Version 16.111.7

This commit is contained in:
Antonio Cañas Vargas 2016-12-28 18:04:32 +01:00
parent a0df9b5a9e
commit 9b8aee740c
2 changed files with 6 additions and 1 deletions

View File

@ -189,13 +189,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.111.6 (2016-12-28)"
#define Log_PLATFORM_VERSION "SWAD 16.111.7 (2016-12-28)"
#define CSS_FILE "swad16.111.5.css"
#define JS_FILE "swad16.101.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/*
Version 16.111.7: Dec 28, 2016 Fixed minor bug in groups, reported by Coverity. (211114 lines)
Version 16.111.6: Dec 28, 2016 Fixed bug in assigments, reported by Coverity. (211109 lines)
Version 16.111.5: Dec 28, 2016 Changes in CSS related to tabs. (211084 lines)
Version 16.111.4: Dec 28, 2016 Fixed bug in file browser. (211336 lines)

View File

@ -527,6 +527,8 @@ void Grp_ChangeMyGrps (void)
Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
/***** Get the group codes which I want to join to *****/
LstGrpsIWant.NumGrps = 0; // Initialized to avoid bug reported by Coverity
LstGrpsIWant.GrpCod = NULL; // Initialized to avoid bug reported by Coverity
Grp_GetLstCodsGrpWanted (&LstGrpsIWant);
/***** A student can not be enrolled in more than one group
@ -575,6 +577,8 @@ void Grp_ChangeOtherUsrGrps (void)
Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
/***** Get the list of groups to which register this user *****/
LstGrpsUsrWants.NumGrps = 0; // Initialized to avoid bug reported by Coverity
LstGrpsUsrWants.GrpCod = NULL; // Initialized to avoid bug reported by Coverity
Grp_GetLstCodsGrpWanted (&LstGrpsUsrWants);
/***** A student can not be enrolled in more than one group