Skip to content

Commit d60b3c4

Browse files
committed
another small fix for ApiController
Signed-off-by: Timotheus Pokorra <timotheus.pokorra@solidcharity.com>
1 parent cd1eafa commit d60b3c4

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/Controller/ApiController.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,9 +1238,7 @@ public function insertSubmission(int $formId, array $answers, string $shareHash
12381238
continue;
12391239
}
12401240

1241-
$question = $questions[$questionIndex];
1242-
1243-
$this->storeAnswersForQuestion($submission->getId(), $question, $answerArray, false);
1241+
$this->storeAnswersForQuestion($submission->getId(), $questions[$questionIndex], $answerArray, false);
12441242
}
12451243

12461244
$this->formsService->setLastUpdatedTimestamp($formId);

0 commit comments

Comments
 (0)