Version19.80.4

This commit is contained in:
Antonio Cañas Vargas 2019-11-28 10:15:39 +01:00
parent 38e9fa7305
commit 803e04baad
3 changed files with 5 additions and 4 deletions

View File

@ -490,7 +490,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.80.2 (2019-11-28)"
#define Log_PLATFORM_VERSION "SWAD 19.80.4 (2019-11-28)"
#define CSS_FILE "swad19.78.1.css"
#define JS_FILE "swad19.70.js"
/*
@ -498,6 +498,7 @@ ps2pdf source.ps destination.pdf
// TODO: Impedir la creación y edición de proyectos si no son editables.
// TODO: En cada juego, poder listar los resultados en una tabla como la de resultados globales
Version 19.80.4: Nov 28, 2019 Fixed bug in games. (247287 lines)
Version 19.80.3: Nov 28, 2019 Fixed bug in games. (247286 lines)
Version 19.80.2: Nov 28, 2019 Changes in test results and match results. (247285 lines)
Version 19.80.1: Nov 28, 2019 Changes in test results and match results. (247252 lines)

View File

@ -634,7 +634,6 @@ long Gam_GetParams (void)
{
/***** Get other parameters *****/
Gam_GetParamOrder ();
Grp_GetParamWhichGrps ();
Gbl.Games.CurrentPage = Pag_GetParamPagNum (Pag_GAMES);
/***** Get game code *****/
@ -1317,8 +1316,8 @@ void Gam_RecFormGame (void)
char MaxGradeStr[64];
char Txt[Cns_MAX_BYTES_TEXT + 1];
/***** Get the code of the game *****/
Game.GamCod = Gam_GetParamGameCod ();
/***** Get parameters *****/
Game.GamCod = Gam_GetParams ();
/***** Check if game has matches *****/
if (Gam_CheckIfICanEditGames ())

View File

@ -1148,6 +1148,7 @@ void Mch_GetAndCheckParameters (struct Game *Game,struct Match *Match)
/* Get parameters of game */
if ((Game->GamCod = Gam_GetParams ()) == -1L)
Lay_ShowErrorAndExit ("Code of game is missing.");
Grp_GetParamWhichGrps ();
Gam_GetDataOfGameByCod (Game);
/* Get match code */