mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-09 18:03:44 +02:00
Fix boolean flipping
This commit is contained in:
@@ -846,7 +846,7 @@ class ServerRepository
|
||||
if ($server->installed === 2) {
|
||||
throw new DisplayException('This server was marked as having a failed install, you cannot override this.');
|
||||
}
|
||||
$server->installed = ($server->installed) ? 0 : 1;
|
||||
$server->installed = ! $server->installed;
|
||||
|
||||
return $server->save();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user