diff --git a/swad_changelog.h b/swad_changelog.h index 132982290..08a06ebdd 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -487,12 +487,13 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - * En OpenSWAD: ps2pdf source.ps destination.pdf */ -#define Log_PLATFORM_VERSION "SWAD 19.31.1 (2019-10-04)" +#define Log_PLATFORM_VERSION "SWAD 19.31.2 (2019-10-04)" #define CSS_FILE "swad19.29.css" #define JS_FILE "swad19.30.js" /* // TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas) + Version 19.31.2: Oct 04, 2019 Fixed bug while removing the matches of a course, reported by Pedro A. García Sánchez. (? lines) Version 19.31.1: Oct 04, 2019 Code refactoring in HTML tables. (247035 lines) Version 19.31 : Oct 04, 2019 Code refactoring in HTML tables. (246967 lines) Version 19.30.6: Oct 03, 2019 Code refactoring in HTML tables. (246928 lines) diff --git a/swad_match.c b/swad_match.c index e40817be9..ddd946b05 100644 --- a/swad_match.c +++ b/swad_match.c @@ -1051,8 +1051,8 @@ void Mch_RemoveMatchInCourseFromAllTables (long CrsCod) Mch_RemoveMatchInCourseFromTable (CrsCod,"mch_indexes"); /***** Remove matches from main table *****/ - DB_QueryDELETE ("can not remove matches of a course from table", - "DELETE FROM %s" + DB_QueryDELETE ("can not remove matches of a course", + "DELETE FROM mch_matches" " USING gam_games,mch_matches" " WHERE gam_games.CrsCod=%ld" " AND gam_games.GamCod=mch_matches.GamCod",