diff --git a/Source/API/script/Gateway/GatewayQuestion.php b/Source/API/script/Gateway/GatewayQuestion.php index ecd22d4..5c4f026 100644 --- a/Source/API/script/Gateway/GatewayQuestion.php +++ b/Source/API/script/Gateway/GatewayQuestion.php @@ -110,7 +110,8 @@ class GatewayQuestion for ($i = 0; $i < count($listQuestions); $i++) { if ($listQuestions[$i]["type"] != "BusinessClass/TextQuestion") { - $possibleResponses = $gatewayPossibleResponse->getPossibleResponseByQuestion($listQuestions[$i]["id"]); //$this->connection->getResults(); + $idQuestion = $listQuestions[$i]["id"]; + $possibleResponses = $gatewayPossibleResponse->getPossibleResponseByQuestion($idQuestion); $tmpTabKeyword = []; $tmpTabPossibleResponse = []; @@ -121,8 +122,7 @@ class GatewayQuestion } $possibleResponsesContent[] = $tmpTabPossibleResponse; $keywordsResponses[] = $tmpTabKeyword; - } - else { + } else { $possibleResponsesContent[] = null; $keywordsResponses[] = null; }