From d61988cfc4fd217e9875f496ebad7ac140e50cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 26 Sep 2019 01:25:43 +0200 Subject: [PATCH] Version19.14.4 --- swad_changelog.h | 11 +++++++++-- swad_match.c | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 755c03653..bbef07e59 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -470,11 +470,18 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.14.2 (2019-09-26)" +#define Log_PLATFORM_VERSION "SWAD 19.14.4 (2019-09-26)" #define CSS_FILE "swad19.3.css" #define JS_FILE "swad18.130.2.js" /* -// TODO: Imposibilitar la edición de preguntas de un juego cuando tenga partidas +// TODO: Imposibilitar la edición (creación/eliminación/movimiento) de preguntas de un juego cuando tenga partidas + + Version 19.14.4: Sep 26, 2019 Fixed bug creating a new match. (246270 lines) + 8 changes necessary in database: +Only if you use MyISAM: +ALTER TABLE mch_indexes ENGINE=MyISAM; +ALTER TABLE mch_results ENGINE=MyISAM; +ALTER TABLE mch_times ENGINE=MyISAM; Version 19.14.3: Sep 26, 2019 Column in game row with the number of matches. (246264 lines) Version 19.14.2: Sep 26, 2019 Student can not see a match result if hidden. (246227 lines) diff --git a/swad_match.c b/swad_match.c index f90eae515..c9821387c 100644 --- a/swad_match.c +++ b/swad_match.c @@ -1308,7 +1308,7 @@ static long Mch_CreateMatch (long GamCod,char Title[Gam_MAX_BYTES_TITLE + 1]) "0," // QstInd: Match has not started, so not the first question yet "-1," // QstCod: Non-existent question "'%s'," // Showing: What is being shown - "'N',", // ShowQstResults: Don't show question results initially + "'N'," // ShowQstResults: Don't show question results initially "'N')", // ShowUsrResults: Don't show user results initially GamCod, Gbl.Usrs.Me.UsrDat.UsrCod, // Game creator