fix regression on getIpinfo
This commit is contained in:
parent
9b8faee10d
commit
fee5799a11
|
@ -180,7 +180,7 @@ function getIsp($rawIspInfo)
|
||||||
*/
|
*/
|
||||||
if (
|
if (
|
||||||
array_key_exists('asn', $rawIspInfo)
|
array_key_exists('asn', $rawIspInfo)
|
||||||
&& is_string($rawIspInfo['asn'])
|
&& is_array($rawIspInfo['asn'])
|
||||||
&& !empty($rawIspInfo['asn'])
|
&& !empty($rawIspInfo['asn'])
|
||||||
&& array_key_exists('name', $rawIspInfo['asn'])
|
&& array_key_exists('name', $rawIspInfo['asn'])
|
||||||
&& is_string($rawIspInfo['asn']['name'])
|
&& is_string($rawIspInfo['asn']['name'])
|
||||||
|
|
Loading…
Reference in a new issue