From 91aca751380b92e68890f0367490ddc2c70695c6 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Sun, 23 Feb 2025 00:02:15 +0200 Subject: [PATCH] Fixes reload after new platform adding --- app/pages/settings.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/pages/settings.php b/app/pages/settings.php index 2dcc825..7cbd238 100644 --- a/app/pages/settings.php +++ b/app/pages/settings.php @@ -161,10 +161,8 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { $_SESSION['error'] = "Editing the platform failed. Error: $result"; } } - if (!$isAjax) { - header('Location: ' . $redirectUrl); - exit; - } + header('Location: ' . $redirectUrl); + exit; } } else {