mirror of https://github.com/acanas/swad-core.git
Version19.54.8
This commit is contained in:
parent
5ff423a22c
commit
df0dd2ffd7
2
Makefile
2
Makefile
|
@ -66,7 +66,7 @@ CC = gcc
|
|||
# LIBS when using MariaDB (also valid with MySQL):
|
||||
LIBS = -lssl -lcrypto -lpthread -lrt -lmysqlclient -lz -L/usr/lib64/mysql -lm -lgsoap
|
||||
|
||||
CFLAGS = -Wall -Wextra -mtune=native -Os -s
|
||||
CFLAGS = -Wall -Wextra -mtune=native -O2 -s
|
||||
|
||||
all: swad_ca swad_de swad_en swad_es swad_fr swad_gn swad_it swad_pl swad_pt
|
||||
|
||||
|
|
|
@ -490,7 +490,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
|||
En OpenSWAD:
|
||||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.54.7 (2019-11-06)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.54.8 (2019-11-06)"
|
||||
#define CSS_FILE "swad19.47.css"
|
||||
#define JS_FILE "swad19.39.js"
|
||||
/*
|
||||
|
@ -498,6 +498,7 @@ ps2pdf source.ps destination.pdf
|
|||
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
||||
// TODO: Importante: filtrar proyectos por usuarios (igual que en trabajos o en asistencia)
|
||||
|
||||
Version 19.54.8: Nov 05, 2019 Fixed bug in groups open time. (245925 lines)
|
||||
Version 19.54.7: Nov 05, 2019 Code refactoring in HTML select options. (245923 lines)
|
||||
Version 19.54.6: Nov 05, 2019 Code refactoring in HTML select options. (245941 lines)
|
||||
Version 19.54.5: Nov 05, 2019 Code refactoring in HTML select options. (245985 lines)
|
||||
|
|
|
@ -554,7 +554,7 @@ void Dat_WriteFormClientLocalDateTimeFromTimeUTC (const char *Id,
|
|||
5, // Dat_FORM_SECONDS_OFF
|
||||
1, // Dat_FORM_SECONDS_ON
|
||||
};
|
||||
char *ParamTimeUTC;
|
||||
char *IdTimeUTC;
|
||||
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_Begin (NULL);
|
||||
|
@ -708,10 +708,10 @@ void Dat_WriteFormClientLocalDateTimeFromTimeUTC (const char *Id,
|
|||
HTM_TABLE_End ();
|
||||
|
||||
/***** Hidden field with UTC time (seconds since 1970) used to send time *****/
|
||||
if (asprintf (&ParamTimeUTC,"%sTimeUTC",Id) < 0)
|
||||
if (asprintf (&IdTimeUTC,"%sTimeUTC",Id) < 0)
|
||||
Lay_NotEnoughMemoryExit ();
|
||||
Par_PutHiddenParamLong (ParamTimeUTC,ParamTimeUTC,(long) TimeUTC);
|
||||
free (ParamTimeUTC);
|
||||
Par_PutHiddenParamLong (IdTimeUTC,"OpenTimeUTC",(long) TimeUTC);
|
||||
free (IdTimeUTC);
|
||||
|
||||
/***** Script to set selectors to local date and time from UTC time *****/
|
||||
HTM_SCRIPT_Begin (NULL,NULL);
|
||||
|
|
|
@ -4472,7 +4472,8 @@ void Grp_ChangeMandatGrpTyp (void)
|
|||
{
|
||||
/***** Update of the table of types of group changing the old type of enrolment by the new *****/
|
||||
DB_QueryUPDATE ("can not update enrolment type of a type of group",
|
||||
"UPDATE crs_grp_types SET Mandatory='%c' WHERE GrpTypCod=%ld",
|
||||
"UPDATE crs_grp_types SET Mandatory='%c'"
|
||||
" WHERE GrpTypCod=%ld",
|
||||
NewMandatoryEnrolment ? 'Y' :
|
||||
'N',
|
||||
Gbl.Crs.Grps.GrpTyp.GrpTypCod);
|
||||
|
|
Loading…
Reference in New Issue