Version 16.46.3

This commit is contained in:
Antonio Cañas Vargas 2016-11-03 22:26:56 +01:00
parent 5167adbe63
commit d14c9f5ef4
3 changed files with 5 additions and 4 deletions

View File

@ -65,7 +65,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 -O2 -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

View File

@ -2683,9 +2683,9 @@ static void Ctr_CreateCentre (struct Centre *Ctr,unsigned Status)
/***** Create a new centre *****/
sprintf (Query,"INSERT INTO centres (InsCod,PlcCod,Status,RequesterUsrCod,"
"ShortName,FullName,WWW)"
"ShortName,FullName,WWW,PhotoAttribution)"
" VALUES ('%ld','%ld','%u','%ld',"
"'%s','%s','%s')",
"'%s','%s','%s','')",
Ctr->InsCod,Ctr->PlcCod,
Status,
Gbl.Usrs.Me.UsrDat.UsrCod,

View File

@ -154,13 +154,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.46.2 (2016-11-01)"
#define Log_PLATFORM_VERSION "SWAD 16.46.3 (2016-11-03)"
#define CSS_FILE "swad16.32.1.css"
#define JS_FILE "swad16.46.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 16.46.3: Nov 03, 2016 Fixed bug in creation of a new centre. (206041 lines)
Version 16.46.2: Nov 01, 2016 Fixed bugs in surveys. (206040 lines)
Version 16.46.1: Nov 01, 2016 Fixed bugs in javascript function to set a date range to a given day. (206035 lines)
Version 16.46: Oct 29, 2016 Fixed bugs in surveys.