diff --git a/swad_changelog.h b/swad_changelog.h index 00cdfdbaf..7874a7841 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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; diff --git a/swad_test.c b/swad_test.c index 385548b5c..af850deed 100644 --- a/swad_test.c +++ b/swad_test.c @@ -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,"" "");