removing last page from being stored
Some checks failed
PHPUnit / test (push) Has been cancelled

This commit is contained in:
2026-07-01 09:33:44 +02:00
parent bbf10fe866
commit 70dca17451
5 changed files with 29 additions and 0 deletions

View File

@ -228,6 +228,12 @@ if ($method === 'POST') {
continue;
}
$qType = $shortIdToType[$shortId] ?? '';
if (qdb_is_non_stored_answer_question_type($qType)) {
$answerDelete->execute([':cc' => $clientCode, ':qid' => $fullQID]);
continue;
}
$answerOptionID = null;
$freeTextValue = isset($a['freeTextValue']) ? (string)$a['freeTextValue'] : null;
$numericValue = isset($a['numericValue']) ? (float)$a['numericValue'] : null;