Open offsky opened 1 year ago
I was trying to do a reverse IP lookup on "200.16.89.104" which happens to be a site in Argentine (buenosaires.gob.ar). This library was giving me an error in whois.ip.lacnic.php on line 72. A string was being passed to array_unique.
whois.ip.lacnic.php
Here is how I fixed it.
if(is_string($r['network']['nserver'])) $r['network']['nserver'] = array($r['network']['nserver']); else if(is_array($r['network']['nserver'])) $r['network']['nserver'] = array_unique($r['network']['nserver']);
Sorry, dont have time for a pull request right now, so I'll leave this here for now. If I get a chance I'll come back.
I was trying to do a reverse IP lookup on "200.16.89.104" which happens to be a site in Argentine (buenosaires.gob.ar). This library was giving me an error in
whois.ip.lacnic.php
on line 72. A string was being passed to array_unique.Here is how I fixed it.
Sorry, dont have time for a pull request right now, so I'll leave this here for now. If I get a chance I'll come back.