From 5d301985afd95268875dfdf8ec868898f1fbdfb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Tue, 17 Sep 2019 23:58:45 +0200 Subject: [PATCH] Version19.6.1 --- swad_changelog.h | 3 ++- swad_game.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index f2f3fcda5..f553f46ea 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -459,10 +459,11 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.6 (2019-09-17)" +#define Log_PLATFORM_VERSION "SWAD 19.6.1 (2019-09-17)" #define CSS_FILE "swad19.3.css" #define JS_FILE "swad18.130.2.js" /* + Version 19.6.1: Sep 17, 2019 Fixed bug while removing a game. (244601 lines) Version 19.6: Sep 17, 2019 Remove actions to reset a game. (244600 lines) 1 change necessary in database: UPDATE actions SET Obsolete='Y' WHERE ActCod IN (1658,1659); diff --git a/swad_game.c b/swad_game.c index 5d965af6e..d4eb1a9ea 100644 --- a/swad_game.c +++ b/swad_game.c @@ -891,7 +891,7 @@ void Gam_RemoveGame (void) DB_QueryDELETE ("can not remove the groups associated to matches of a game", "DELETE FROM mch_groups" " USING mch_matches,mch_groups" - " WHERE mch_matches.GrpCod=%ld" + " WHERE mch_matches.GamCod=%ld" " AND mch_matches.MchCod=mch_groups.MchCod", Game.GamCod); /* Remove matches of the game */