Fix boolean flipping
This commit is contained in:
parent
788de1b23a
commit
2fdde75f9c
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue