Version19.31.2

This commit is contained in:
Antonio Cañas Vargas 2019-10-04 14:57:04 +02:00
parent 696e8a5fe6
commit a06ef3a73b
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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",