forked from Alex/Pterodactyl-Panel
Merge branch 'develop' into feature/react-admin
This commit is contained in:
commit
b7ee2195d7
@ -56,7 +56,7 @@ class ServerInstallController extends Controller
|
||||
{
|
||||
$server = $this->repository->getByUuid($uuid);
|
||||
|
||||
$status = $request->input('successful') === '1' ? null : Server::STATUS_INSTALL_FAILED;
|
||||
$status = $request->boolean('successful') ? null : Server::STATUS_INSTALL_FAILED;
|
||||
if ($server->status === Server::STATUS_SUSPENDED) {
|
||||
$status = Server::STATUS_SUSPENDED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user