fix: server not found
This commit is contained in:
parent
70c662daf8
commit
ef595dd4c2
@ -391,6 +391,9 @@ class Server extends BaseModel
|
|||||||
public function validateConnection()
|
public function validateConnection()
|
||||||
{
|
{
|
||||||
$server = Server::find($this->id);
|
$server = Server::find($this->id);
|
||||||
|
if (!$server) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if ($server->skipServer()) {
|
if ($server->skipServer()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user