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 */