Version 22.118.6: May 24, 2023 Fixed bug in rubrics.

This commit is contained in:
acanas 2023-05-24 09:48:55 +02:00
parent ad43d4bf93
commit 0cf2226745
4 changed files with 10 additions and 5 deletions

View File

@ -2738,6 +2738,9 @@ void Brw_ShowFileBrowserProject (long PrjCod)
Brw_ShowFileBrowser ();
}
/***** Put legal notice *****/
Brw_PutLegalNotice ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
}

View File

@ -629,10 +629,11 @@ TODO: Emilce Barrera Mesa: Podr
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
*/
#define Log_PLATFORM_VERSION "SWAD 22.118.5 (2023-05-23)"
#define Log_PLATFORM_VERSION "SWAD 22.118.6 (2023-05-24)"
#define CSS_FILE "swad22.118.5.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.118.6: May 24, 2023 Fixed bug in rubrics. (337363 lines)
Version 22.118.5: May 23, 2023 Changes in comments in surveys. (337360 lines)
Version 22.118.4: May 23, 2023 Fix CSS related to frequent actions. (337351 lines)
Version 22.118.3: May 23, 2023 Fix CSS related to left and right columns. (337351 lines)

View File

@ -1326,9 +1326,6 @@ void Prj_ShowOneProject (void)
Prj_ShowBoxWithOneProject (&Projects);
Prj_FreeMemProject (&Projects.Prj);
/***** Put legal notice *****/
Brw_PutLegalNotice ();
/***** Show projects again *****/
Prj_ShowProjects (&Projects);
}
@ -4506,6 +4503,7 @@ static void Prj_ShowRubrics (struct Prj_Projects *Projects)
HTM_TABLE_BeginWideMarginPadding (5);
/***** Show rubrics of each type ready to fill them *****/
for (RubricType = (PrjCfg_RubricType_t) 1;
RubricType <= (PrjCfg_RubricType_t) (PrjCfg_NUM_RUBRIC_TYPES - 1);
RubricType++)
@ -4587,6 +4585,9 @@ static void Prj_ShowRubricsOfType (struct Prj_Projects *Projects,
/***** Free memory used for rubric *****/
Rub_RubricDestructor (&Rubric);
}
/***** Free structure that stores the query result *****/
DB_FreeMySQLResult (&mysql_res);
}
/*****************************************************************************/

View File

@ -567,7 +567,7 @@ void RubCri_ListCriteriaInProject (struct Prj_Projects *Projects,long RubCod,
{
MYSQL_RES *mysql_res;
unsigned NumCriteria;
struct Rub_Node *TOS;
struct Rub_Node *TOS = NULL;
/***** Get data of rubric criteria from database *****/
NumCriteria = Rub_DB_GetCriteria (&mysql_res,RubCod);