diff --git a/app/ESI.php b/app/ESI.php index 078d1af..23864ce 100644 --- a/app/ESI.php +++ b/app/ESI.php @@ -398,7 +398,7 @@ public function getUniverseSystemData(int $systemId) : array { $systemData = []; $response = $this->request($url, 'GET'); - if( !empty($response) ){ + if( !$response->error && !empty($response) ){ $systemData = (new namespace\Mapper\System($response))->getData(); }