Fixes reload after new platform adding
parent
66fb6bf576
commit
91aca75138
|
@ -161,11 +161,9 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
|
||||||
$_SESSION['error'] = "Editing the platform failed. Error: $result";
|
$_SESSION['error'] = "Editing the platform failed. Error: $result";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!$isAjax) {
|
|
||||||
header('Location: ' . $redirectUrl);
|
header('Location: ' . $redirectUrl);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue