mirror of https://github.com/acanas/swad-core.git
Version 21.97.2: Jun 02, 2022 Fixed bug in surveys.
This commit is contained in:
parent
9a559522ce
commit
e199aa6d5b
|
@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
||||||
|
|
||||||
TODO: Attach pdf files in multimedia.
|
TODO: Attach pdf files in multimedia.
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 21.97.1 (2022-05-30)"
|
#define Log_PLATFORM_VERSION "SWAD 21.97.2 (2022-06-02)"
|
||||||
#define CSS_FILE "swad21.97.1.css"
|
#define CSS_FILE "swad21.97.1.css"
|
||||||
#define JS_FILE "swad21.92.js"
|
#define JS_FILE "swad21.92.js"
|
||||||
/*
|
/*
|
||||||
|
Version 21.97.2: Jun 02, 2022 Fixed bug in surveys. (323168 lines)
|
||||||
Version 21.97.1: May 30, 2022 Fixing design of dark theme. (323166 lines)
|
Version 21.97.1: May 30, 2022 Fixing design of dark theme. (323166 lines)
|
||||||
Version 21.97: May 25, 2022 Code refactoring in timeline. (? lines)
|
Version 21.97: May 25, 2022 Code refactoring in timeline. (? lines)
|
||||||
Version 21.96.7: May 19, 2022 Fixed bug in places. (323157 lines)
|
Version 21.96.7: May 19, 2022 Fixed bug in places. (323157 lines)
|
||||||
|
|
|
@ -101,7 +101,7 @@ bool Par_GetQueryString (void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/***** PUSH method *****/
|
/***** POST method *****/
|
||||||
/* Get content length */
|
/* Get content length */
|
||||||
if (getenv ("CONTENT_LENGTH"))
|
if (getenv ("CONTENT_LENGTH"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -2913,8 +2913,8 @@ static void Svy_GetDataOfQstFromRow (struct Svy_Question *SvyQst,
|
||||||
/***** Get the answer type (row[2]) *****/
|
/***** Get the answer type (row[2]) *****/
|
||||||
SvyQst->AnswerType = Svy_DB_ConvertFromStrAnsTypDBToAnsTyp (row[2]);
|
SvyQst->AnswerType = Svy_DB_ConvertFromStrAnsTypDBToAnsTyp (row[2]);
|
||||||
|
|
||||||
/***** Get the stem of the question from the database (row[2]) *****/
|
/***** Get the stem of the question from the database (row[3]) *****/
|
||||||
Str_Copy (Stem,row[2],Cns_MAX_BYTES_TEXT);
|
Str_Copy (Stem,row[3],Cns_MAX_BYTES_TEXT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -929,9 +929,10 @@ unsigned Svy_DB_GetQstDataByCod (MYSQL_RES **mysql_res,long QstCod,long SvyCod)
|
||||||
{
|
{
|
||||||
return (unsigned)
|
return (unsigned)
|
||||||
DB_QuerySELECT (mysql_res,"can not get a question",
|
DB_QuerySELECT (mysql_res,"can not get a question",
|
||||||
"SELECT QstInd," // row[0]
|
"SELECT QstCod," // row[0]
|
||||||
"AnsType," // row[1]
|
"QstInd," // row[1]
|
||||||
"Stem" // row[2]
|
"AnsType," // row[2]
|
||||||
|
"Stem" // row[3]
|
||||||
" FROM svy_questions"
|
" FROM svy_questions"
|
||||||
" WHERE QstCod=%ld"
|
" WHERE QstCod=%ld"
|
||||||
" AND SvyCod=%ld", // Extra check
|
" AND SvyCod=%ld", // Extra check
|
||||||
|
|
Loading…
Reference in New Issue