mirror of
https://github.com/librespeed/speedtest.git
synced 2024-05-10 18:54:52 +00:00
fix regression on getIpinfo
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ function getIsp($rawIspInfo)
|
||||
*/
|
||||
if (
|
||||
array_key_exists('asn', $rawIspInfo)
|
||||
&& is_string($rawIspInfo['asn'])
|
||||
&& is_array($rawIspInfo['asn'])
|
||||
&& !empty($rawIspInfo['asn'])
|
||||
&& array_key_exists('name', $rawIspInfo['asn'])
|
||||
&& is_string($rawIspInfo['asn']['name'])
|
||||
|
||||
Reference in New Issue
Block a user