mirror of https://github.com/acanas/swad-core.git
Version 15.211.2
This commit is contained in:
parent
3e3ba1fdf6
commit
031dc19e13
|
@ -138,13 +138,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.211.1 (2016-05-07)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.211.2 (2016-05-13)"
|
||||
#define CSS_FILE "swad15.210.css"
|
||||
#define JS_FILE "swad15.197.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 15.211.2: May 13, 2016 Fixed bug in test questions, reported by Nuria Torres Rosell. (201394 lines)
|
||||
Version 15.211.1: May 07, 2016 Files in briefcase older than 1 year are removed automatically. (201397 lines)
|
||||
Version 15.211: May 07, 2016 Code refactoring related to removing old files in briefcase.
|
||||
Old files in briefcase are removed automatically. (201396 lines)
|
||||
|
|
10
swad_test.c
10
swad_test.c
|
@ -3272,10 +3272,6 @@ static void Tst_WriteChoiceAnsSeeExam (unsigned NumQst,long QstCod,bool Shuffle)
|
|||
bool ErrorInIndex = false;
|
||||
char ParamName[3+6+1];
|
||||
|
||||
/***** Create test question *****/
|
||||
Tst_QstConstructor ();
|
||||
Gbl.Test.QstCod = QstCod;
|
||||
|
||||
/***** Get answers of a question from database *****/
|
||||
Gbl.Test.Answer.NumOptions = Tst_GetAnswersQst (QstCod,&mysql_res,Shuffle); // Result: AnsInd,Answer,Correct
|
||||
/*
|
||||
|
@ -3334,7 +3330,8 @@ static void Tst_WriteChoiceAnsSeeExam (unsigned NumQst,long QstCod,bool Shuffle)
|
|||
NumQst,Gbl.Test.Answer.NumOptions);
|
||||
else // Gbl.Test.AnswerType == Tst_ANS_MULTIPLE_CHOICE
|
||||
fprintf (Gbl.F.Out,"checkbox\"");
|
||||
fprintf (Gbl.F.Out," name=\"Ans%06u\" value=\"%u\" /> </td>",NumQst,Index);
|
||||
fprintf (Gbl.F.Out," name=\"Ans%06u\" value=\"%u\" /> </td>",
|
||||
NumQst,Index);
|
||||
fprintf (Gbl.F.Out,"<td class=\"TEST LEFT_TOP\">"
|
||||
"%c) "
|
||||
"</td>",
|
||||
|
@ -3356,9 +3353,6 @@ static void Tst_WriteChoiceAnsSeeExam (unsigned NumQst,long QstCod,bool Shuffle)
|
|||
|
||||
/***** Free structure that stores the query result *****/
|
||||
DB_FreeMySQLResult (&mysql_res);
|
||||
|
||||
/***** Destroy test question *****/
|
||||
Tst_QstDestructor ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue