diff --git a/backend/getIP.php b/backend/getIP.php index b03afbfa7..530cd5797 100755 --- a/backend/getIP.php +++ b/backend/getIP.php @@ -348,11 +348,7 @@ function calculateDistance($clientLocation, $serverLocation, $unit) function getIspInfo_offlineDb($ip){ $reader = new Reader('country_asn.mmdb'); $record = $reader->get($ip); - if(is_null($record)){ - return "{}"; - }else{ - return $record; - } + return $record; } /**