Version 21.116.1: Sep 08, 2022 Fixed bug updating institution status.

This commit is contained in:
acanas 2022-09-08 11:10:55 +02:00
parent fc2e821e23
commit abdf4cdce1
4 changed files with 5 additions and 3 deletions

View File

@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
TODO: Attach pdf files in multimedia.
*/
#define Log_PLATFORM_VERSION "SWAD 21.116 (2022-09-02)"
#define Log_PLATFORM_VERSION "SWAD 21.116.1 (2022-09-08)"
#define CSS_FILE "swad21.107.1.css"
#define JS_FILE "swad21.100.js"
/*
Version 21.116.1: Sep 08, 2022 Fixed bug updating institution status. (329215 lines)
Version 21.116: Sep 02, 2022 Code refactoring in edition of program items. (329214 lines)
Version 21.115: Sep 01, 2022 Code refactoring in edition of program items. (329212 lines)
Version 21.114.1: Jul 25, 2022 Fixed bug removing an item resource. (329264 lines)

View File

@ -814,6 +814,7 @@ Hie_Status_t Hie_GetParamStatus (void)
0,
(unsigned long) Hie_MAX_STATUS,
(unsigned long) Hie_WRONG_STATUS);
if (Status == Hie_WRONG_STATUS)
Err_WrongStatusExit ();

View File

@ -1377,7 +1377,7 @@ void Ins_ChangeInsStatus (void)
Ins_GetDataOfInstitByCod (Ins_EditingIns);
/***** Update status *****/
Ins_DB_UpdateInsStatus (Status,Ins_EditingIns->InsCod);
Ins_DB_UpdateInsStatus (Ins_EditingIns->InsCod,Status);
Ins_EditingIns->Status = Status;
/***** Create message to show the change made

View File

@ -51882,7 +51882,7 @@ const char *Txt_The_status_of_the_institution_X_has_changed = // Warning: it is
#elif L==9 // pt
"O status da institui&ccedil;&atilde;o <strong>%s</strong> mudou.";
#elif L==10 // tr
"The status of the institution <strong>%s</strong> has changed."; // Çeviri lazim!
"<strong>%s</strong> kurumunun stat&uuml;s&uuml; de&gbreve;i&scedil;ti.";
#endif
const char *Txt_The_survey_has_been_modified =