Fixes reload after new platform adding
parent
66fb6bf576
commit
91aca75138
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue