Version 17.17.4

This commit is contained in:
Antonio Cañas Vargas 2017-10-05 20:58:14 +02:00
parent 386ef2fc75
commit 277a2efa87
2 changed files with 4 additions and 2 deletions

View File

@ -254,13 +254,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 17.17.3 (2017-10-04)"
#define Log_PLATFORM_VERSION "SWAD 17.17.4 (2017-10-05)"
#define CSS_FILE "swad17.0.css"
#define JS_FILE "swad17.17.1.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 17.17.4: Oct 05, 2017 Department is filled automatically with user's department when creating a new project. (232385 lines)
Version 17.17.3: Oct 04, 2017 Fixed problems with icons when expanding / contracting a folder. (232383 lines)
Version 17.17.2: Oct 04, 2017 Changes related with output with status 204 No Content. (232332 lines)
Version 17.17.1: Oct 04, 2017 Changed folder icon when expanding / contracting a folder. (232330 lines)

View File

@ -2309,6 +2309,7 @@ static void Prj_RequestCreatOrEditPrj (long PrjCod)
Prj.TimeUTC[Dat_END_TIME ] = Gbl.StartExecutionTimeUTC +
Prj_INTERVAL_DEFAULT;
Prj.Open = true;
Prj.DptCod = Gbl.Usrs.Me.UsrDat.Tch.DptCod; // Default: my department
}
else
/* Get data of the project from database */
@ -2718,7 +2719,7 @@ static void Prj_CreateProject (struct Project *Prj)
{
char Query[2048 +
Prj_MAX_BYTES_PROJECT_TITLE +
Cns_MAX_BYTES_TEXT*3 +
Cns_MAX_BYTES_TEXT * 3 +
Cns_MAX_BYTES_WWW];
/***** Create a new project *****/