Version 14.75.1

This commit is contained in:
Antonio Cañas Vargas 2015-03-02 12:17:16 +01:00
parent 7c0195766f
commit 10e57e49b1
2 changed files with 10 additions and 7 deletions

View File

@ -103,11 +103,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.75 (2015/02/27)"
#define Log_PLATFORM_VERSION "SWAD 14.75.1 (2015/03/02)"
// 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 | tail -1
/*
Version 14.75.1: Mar 02, 2015 Fixed bug in file browser, reported by Germán Luzón González and Javier Fernández Baldomero. (178175 lines)
Version 14.75: Feb 27, 2015 Fixed bug when getting user's IDs from marks tables. (178172 lines)
Version 14.74.12: Feb 23, 2015 Fixed bug in file browser, reported by Germán Luzón González and Javier Fernández Baldomero. (178119 lines)
Version 14.74.11: Feb 10, 2015 Changes in swad.js. (178060 lines)

View File

@ -10228,15 +10228,17 @@ long Brw_GetCodForFiles (void)
static long Brw_GetZoneUsrCodForFiles (void)
{
switch (Brw_FileBrowserForDB_files[Gbl.FileBrowser.Type])
switch (Gbl.FileBrowser.Type)
{
case Brw_ADMI_ASSIG_USR:
case Brw_ADMI_WORKS_USR:
return Gbl.Usrs.Other.UsrDat.UsrCod;
case Brw_ADMI_BRIEF_USR:
case Brw_ADMI_WORKS_USR: // My works
case Brw_ADMI_ASSIG_USR: // My assignments
case Brw_ADMI_BRIEF_USR: // My briefcase
return Gbl.Usrs.Me.UsrDat.UsrCod;
case Brw_ADMI_WORKS_CRS: // Course works
case Brw_ADMI_ASSIG_CRS: // Course assignments
return Gbl.Usrs.Other.UsrDat.UsrCod;
default:
return -1L;
return -1L;
}
}