remove empty translation keys
Some checks failed
PHPUnit / test (push) Has been cancelled

This commit is contained in:
2026-07-18 14:02:49 +02:00
parent 63aad5d9e9
commit 12d63fdd9f
3 changed files with 72 additions and 3 deletions

View File

@ -215,7 +215,7 @@ case 'PUT':
$pdo->prepare("UPDATE question SET defaultText = :t, type = :ty, orderIndex = :o, isRequired = :r, configJson = :cj WHERE questionID = :id")
->execute([':t' => $text, ':ty' => $type, ':o' => $order, ':r' => $req, ':cj' => $configJson, ':id' => $id]);
qdb_upsert_source_translation($pdo, 'question', $id, $text);
qdb_sync_question_note_strings($pdo, $questionKey, $config);
qdb_sync_question_note_strings($pdo, $questionKey, $config, $oldKey);
if ($type === 'glass_scale_question') {
qdb_sync_glass_symptom_strings($pdo, $glassSymptoms);
}