We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 788de1b commit 2fdde75Copy full SHA for 2fdde75
app/Repositories/ServerRepository.php
@@ -846,7 +846,7 @@ public function toggleInstall($id)
846
if ($server->installed === 2) {
847
throw new DisplayException('This server was marked as having a failed install, you cannot override this.');
848
}
849
- $server->installed = ($server->installed) ? 0 : 1;
+ $server->installed = ! $server->installed;
850
851
return $server->save();
852
0 commit comments