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 {