Skip to content

Commit

Permalink
another small fix for ApiController
Browse files Browse the repository at this point in the history
Signed-off-by: Timotheus Pokorra <[email protected]>
  • Loading branch information
tpokorra committed Jan 5, 2024
1 parent 9bcabb0 commit 9d148cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Controller/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1238,9 +1238,7 @@ public function insertSubmission(int $formId, array $answers, string $shareHash
continue;
}

$question = $questions[$questionIndex];

$this->storeAnswersForQuestion($submission->getId(), $question, $answerArray, false);
$this->storeAnswersForQuestion($submission->getId(), $questions[$questionIndex], $answerArray, false);
}

$this->formsService->setLastUpdatedTimestamp($formId);
Expand Down

0 comments on commit 9d148cd

Please sign in to comment.