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

@ -47,6 +47,9 @@ function qdb_display_context_from_manifest(PDO $pdo, array $manifest): array {
$cfg = json_decode($qRow['configJson'] ?? '{}', true) ?: [];
$type = $qRow['type'] ?? '';
if (qdb_is_non_stored_answer_question_type($type)) {
continue;
}
if ($type === 'glass_scale_question') {
$symptoms = $cfg['symptoms'] ?? $qEntry['symptoms'] ?? [];
if (is_array($symptoms) && $symptoms !== []) {