diff --git a/swad_account.c b/swad_account.c index cb90a7ee5..7fb4e65e8 100644 --- a/swad_account.c +++ b/swad_account.c @@ -201,7 +201,7 @@ void Acc_CheckIfEmptyAccountExists (void) /***** Check if there are users with this user's ID *****/ if (ID_CheckIfUsrIDIsValid (ID)) { - NumUsrs = (unsigned) DB_QuerySELECT (&mysql_res,"can not get user's codes" + NumUsrs = (unsigned) DB_QuerySELECT (&mysql_res,"can not get user's codes", "SELECT usr_IDs.UsrCod" " FROM usr_IDs,usr_data" " WHERE usr_IDs.UsrID='%s'" diff --git a/swad_changelog.h b/swad_changelog.h index d9368c57c..a558732d3 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -355,10 +355,12 @@ En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 18.16 (2018-11-10)" +#define Log_PLATFORM_VERSION "SWAD 18.16.2 (2018-11-14)" #define CSS_FILE "swad18.4.css" #define JS_FILE "swad17.17.1.js" /* + Version 18.16.2: Nov 14, 2018 Fixed bug in account, discovered by Oresti Baņos. (236848 lines) + Version 18.16.1: Nov 12, 2018 MOOC advertisement. (236846 lines) Version 18.16: Nov 10, 2018 New module swad_file_MIME for allowed MIME types in files. (236831 lines) Version 18.15: Nov 10, 2018 New module swad_file_extension for allowed file extensions. (236735 lines) Version 18.14.1: Nov 09, 2018 Fixed several bugs when compiling with -Os. (236721 lines) diff --git a/swad_user.c b/swad_user.c index 1dcd4ee85..417b680a3 100644 --- a/swad_user.c +++ b/swad_user.c @@ -2540,6 +2540,22 @@ void Usr_WelcomeUsr (void) else Ale_ShowAlert (Ale_INFO,Txt_Welcome[Gbl.Usrs.Me.UsrDat.Sex]); + /***** Institutional video *****/ + Ale_ShowAlert (Ale_INFO, + "" + "Curso MOOC LICENCIAS CREATIVE COMMONS Y OER
" + // "Reconocimiento de 1 crédito por actividades universitarias
" + "
" + ""); + /***** Warning to confirm my email address *****/ if (Gbl.Usrs.Me.UsrDat.Email[0] && !Gbl.Usrs.Me.UsrDat.EmailConfirmed)