Version 16.140.4

This commit is contained in:
Antonio Cañas Vargas 2017-02-24 19:04:52 +01:00
parent 9fd7a2948e
commit adf8fba5b3
2 changed files with 5 additions and 2 deletions

View File

@ -204,13 +204,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.140.3 (2017-02-24)"
#define Log_PLATFORM_VERSION "SWAD 16.140.4 (2017-02-24)"
#define CSS_FILE "swad16.139.6.css"
#define JS_FILE "swad16.140.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/*
Version 16.140.4: Feb 24, 2017 Fixed bug in T/F test questions, reported by Nuria Torres Rosell. (213009 lines)
Version 16.140.3: Feb 24, 2017 Changed refreshing of timeline from 30 to 10 seconds.
Code refactoring in timeline when I do not follow any user. (213006 lines)
Version 16.140.2: Feb 24, 2017 Changed text of users to view in global timeline. (212994 lines)

View File

@ -5279,6 +5279,7 @@ static void Tst_GetQstFromForm (char *Stem,char *Feedback)
char AnsStr[6 + 10 + 1];
char FbStr[5 + 10 + 1];
char StrMultiAns[Tst_MAX_SIZE_ANSWERS_ONE_QST + 1];
char TF[1 + 1]; // (T)rue or (F)alse
const char *Ptr;
unsigned NumCorrectAns;
@ -5353,7 +5354,8 @@ static void Tst_GetQstFromForm (char *Stem,char *Feedback)
Tst_MAX_BYTES_FLOAT_ANSWER);
break;
case Tst_ANS_TRUE_FALSE:
Gbl.Test.Answer.TF = Par_GetParToBool ("AnsTF");
Par_GetParToText ("AnsTF",TF,1);
Gbl.Test.Answer.TF = TF[0];
break;
case Tst_ANS_UNIQUE_CHOICE:
case Tst_ANS_MULTIPLE_CHOICE: