debugging rsvp-submit.php
This commit is contained in:
1 parent
f36506a385
commit
8dbccf058f
7 files changed
+40
-34
No files matched your search
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user