debugging rsvp-submit.php

This commit is contained in:
spetznas committed 2026-06-17 19:44:21 +02:00
1 parent f36506a385
commit 8dbccf058f
7 files changed
+40 -34

No files matched your search

+6 -3
View File
@@ -215,10 +215,13 @@ if (!in_array($lang, $allowedLangs, true)) {
$lang = 'en';
}
header("Location: /{$lang}/thank-you/");
exit;
if ($lang === 'en') {
header('Location: /thank-you/');
exit;
} else {
header("Location: /{$lang}/thank-you/");
}
exit;
} catch (Exception $e) {