Version 15.183.1

This commit is contained in:
Antonio Cañas Vargas 2016-04-06 15:00:15 +02:00
parent ed9d37dc91
commit 72c3301506
2 changed files with 5 additions and 2 deletions

View File

@ -132,13 +132,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.183 (2016-04-06)"
#define Log_PLATFORM_VERSION "SWAD 15.183.1 (2016-04-06)"
#define CSS_FILE "swad15.178.2.css"
#define JS_FILE "swad15.178.2.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.183.1: Apr 06, 2016 Fix bug in feedback of test question. (198706 lines)
Version 15.183: Apr 06, 2016 Change in length of title/attribution of images. (198704 lines)
2 changes necessary in database:
ALTER TABLE tst_questions CHANGE COLUMN ImageTitle ImageTitle VARCHAR(255) NOT NULL;

View File

@ -1010,8 +1010,10 @@ static void Tst_WriteQstAndAnsExam (unsigned NumQst,long QstCod,MYSQL_ROW row,
else // Assessing exam / Viewing old exam
{
Tst_WriteAnswersOfAQstAssessExam (NumQst,QstCod,ScoreThisQst,AnswerIsNotBlank);
/* Write question feedback (row[5]) */
if (Gbl.Test.Config.FeedbackType == Tst_FEEDBACK_FULL_FEEDBACK)
Tst_WriteQstFeedback (row[6],"TEST_EXA_LIGHT");
Tst_WriteQstFeedback (row[5],"TEST_EXA_LIGHT");
}
fprintf (Gbl.F.Out,"</td>"
"</tr>");