mirror of https://github.com/acanas/swad-core.git
Version 16.111.16
This commit is contained in:
parent
5a85869fd8
commit
e449d33b77
|
@ -189,14 +189,15 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.111.15 (2016-12-30)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.111.16 (2016-12-30)"
|
||||
#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.15:Dec 30, 2016 Fixed minor bug in forums, reported by Coverity. (211182 lines)
|
||||
Version 16.111.16:Dec 30, 2016 Fixed minor bug in user's ID, reported by Coverity. (211185 lines)
|
||||
Version 16.111.15:Dec 30, 2016 Fixed bug in forums, reported by Coverity. (211182 lines)
|
||||
Version 16.111.14:Dec 29, 2016 Fixed bug in attendance events. (211189 lines)
|
||||
Version 16.111.13:Dec 29, 2016 Fixed bug in attendance events, reported by Coverity. (211173 lines)
|
||||
Version 16.111.12:Dec 29, 2016 Fixed minor bug in groups, reported by Coverity. (? lines)
|
||||
|
|
|
@ -1441,7 +1441,10 @@ static void Enr_ReceiveFormUsrsCrs (Rol_Role_t Role)
|
|||
{
|
||||
/***** Find users for this user's ID *****/
|
||||
ID_ReallocateListIDs (&UsrDat,1); // Only one user's ID
|
||||
strcpy (UsrDat.IDs.List[0].ID,UsrDat.UsrIDNickOrEmail);
|
||||
|
||||
strncpy (UsrDat.IDs.List[0].ID,UsrDat.UsrIDNickOrEmail,ID_MAX_LENGTH_USR_ID);
|
||||
UsrDat.IDs.List[0].ID[ID_MAX_LENGTH_USR_ID] = '\0';
|
||||
|
||||
Str_ConvertToUpperText (UsrDat.IDs.List[0].ID);
|
||||
ID_GetListUsrCodsFromUsrID (&UsrDat,NULL,&ListUsrCods,false);
|
||||
}
|
||||
|
@ -1564,7 +1567,10 @@ static void Enr_ReceiveFormUsrsCrs (Rol_Role_t Role)
|
|||
|
||||
/* Find users for this user's ID */
|
||||
ID_ReallocateListIDs (&UsrDat,1); // Only one user's ID
|
||||
strcpy (UsrDat.IDs.List[0].ID,UsrDat.UsrIDNickOrEmail);
|
||||
|
||||
strncpy (UsrDat.IDs.List[0].ID,UsrDat.UsrIDNickOrEmail,ID_MAX_LENGTH_USR_ID);
|
||||
UsrDat.IDs.List[0].ID[ID_MAX_LENGTH_USR_ID] = '\0';
|
||||
|
||||
Str_ConvertToUpperText (UsrDat.IDs.List[0].ID);
|
||||
ID_GetListUsrCodsFromUsrID (&UsrDat,NULL,&ListUsrCods,false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue