diff --git a/swad_changelog.h b/swad_changelog.h
index 74e85f1d0..1d0027c73 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -221,13 +221,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 16.194.16 (2017-04-28)"
+#define Log_PLATFORM_VERSION "SWAD 16.194.17 (2017-04-28)"
#define CSS_FILE "swad16.193.4.css"
#define JS_FILE "swad16.181.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.194.17:Apr 28, 2017 Changed dialog to remove a test question. (218388 lines)
Version 16.194.16:Apr 28, 2017 Changed dialog to remove a survey question. (218370 lines)
Version 16.194.15:Apr 28, 2017 Changed dialog to remove another user's photo.
Fixed bug when uploading photo. (218370 lines)
diff --git a/swad_test.c b/swad_test.c
index 05041ab80..9207539e7 100644
--- a/swad_test.c
+++ b/swad_test.c
@@ -244,8 +244,10 @@ static void Tst_EnableOrDisableTag (long TagCod,bool TagHidden);
static void Tst_PutIconToRemoveOneQst (void);
static void Tst_PutParamsRemoveOneQst (void);
+static void Tst_PutParamsRemoveQst (void);
static long Tst_GetQstCod (void);
+static void Tst_PutParamQstCod (void);
static void Tst_InsertOrUpdateQstIntoDB (void);
static void Tst_InsertTagsIntoDB (void);
@@ -2815,11 +2817,11 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
fprintf (Gbl.F.Out,"
"
"
",Gbl.RowEvenOdd);
Act_FormStart (ActReqRemTstQst);
- Sta_WriteParamsDatesSeeAccesses ();
- Tst_WriteParamEditQst ();
- Par_PutHiddenParamLong ("QstCod",Gbl.Test.QstCod);
+ Tst_PutParamQstCod ();
if (NumRows == 1)
Par_PutHiddenParamChar ("OnlyThisQst",'Y'); // If there are only one row, don't list again after removing
+ Sta_WriteParamsDatesSeeAccesses ();
+ Tst_WriteParamEditQst ();
Lay_PutIconRemove ();
Act_FormEnd ();
fprintf (Gbl.F.Out,"
");
@@ -2827,7 +2829,7 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
/* Write icon to edit the question */
fprintf (Gbl.F.Out,"