close #403 Fixed: System not working if no internet connection
This commit is contained in:
@ -114,7 +114,7 @@ class Updater
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($response->getStatusCode() == 200) {
|
||||
if ($response && ($response->getStatusCode() == 200)) {
|
||||
$file = $response->getBody()->getContents();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user