|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|