From 0c44be3b4f232cc4a0aa13b8f0989504cfbdc9a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Tue, 3 Nov 2015 13:11:06 +0100 Subject: [PATCH] Version 15.34.4 --- swad_changelog.h | 4 +++- swad_profile.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index f448e9c97..440935eac 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,16 +103,18 @@ // TODO: Put headers Content-type and Content-disposition when redirecting with Location: // TODO: System admin should be able to remove/edit user's mail (when he/she detects a recipient does not exists, for example) // TODO: When a new assignment/attendance/survey is incorrect, the second time the form is shown, it should be filled with partial data, now is always empty +// TODO: Ask for notice removal /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.34.3 (2015/11/03)" +#define Log_PLATFORM_VERSION "SWAD 15.34.4 (2015/11/03)" // 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 15.34.4: Nov 03, 2015 Fixed bug in account creation, reported by Héctor García Marcos. (186881 lines) Version 15.34.3: Nov 03, 2015 Fixed bug in photo uploading, reported by Fernando Rojas Ruiz. (186879 lines) Version 15.34.2: Nov 02, 2015 Fixed bugs in date forms. (186878 lines) Version 15.34.1: Nov 01, 2015 Global announcements can be seen by all. (186938 lines) diff --git a/swad_profile.c b/swad_profile.c index 0d7909af8..1b8a882fa 100644 --- a/swad_profile.c +++ b/swad_profile.c @@ -1051,8 +1051,8 @@ static void Prf_CreateUsrFigures (long UsrCod,const struct UsrFigures *UsrFigure /***** Create user's figures *****/ sprintf (Query,"INSERT INTO usr_figures" - "(UsrCod,FROM_UNIXTIME(FirstClickTime),NumClicks,NumFileViews,NumForPst,NumMsgSnt)" - " VALUES ('%ld','%ld','%ld','%ld','%ld','%ld')", + "(UsrCod,FirstClickTime,NumClicks,NumFileViews,NumForPst,NumMsgSnt)" + " VALUES ('%ld',FROM_UNIXTIME('%ld'),'%ld','%ld','%ld','%ld')", UsrCod, (long) UsrFigures->FirstClickTimeUTC, // 0 ==> unknown first click time or user never logged UsrFigures->NumClicks, // -1L ==> unknown number of clicks