Version19.14.4

This commit is contained in:
Antonio Cañas Vargas 2019-09-26 01:25:43 +02:00
parent d0228f7ce2
commit d61988cfc4
2 changed files with 10 additions and 3 deletions

View File

@ -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)

View File

@ -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