From 803e04baad50b6f459d7242c07ac111050b4c631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 28 Nov 2019 10:15:39 +0100 Subject: [PATCH] Version19.80.4 --- swad_changelog.h | 3 ++- swad_game.c | 5 ++--- swad_match.c | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 5448ac2f1..a25e4eb49 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_game.c b/swad_game.c index 2a6fc7067..d78074abe 100644 --- a/swad_game.c +++ b/swad_game.c @@ -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 ()) diff --git a/swad_match.c b/swad_match.c index d6e612b09..0acdc5fb1 100644 --- a/swad_match.c +++ b/swad_match.c @@ -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 */