diff --git a/Changes.md b/Changes.md index ff14bda..d0f8d51 100644 --- a/Changes.md +++ b/Changes.md @@ -1,3 +1,6 @@ +2006/02/13 David Saez + - fixed nserver detection in whois.es.php + 2006/02/03 Released phpWhois 4.1.0 2006/02/03 David Saez diff --git a/whois.es.php b/whois.es.php index 1cb893b..7cb6084 100644 --- a/whois.es.php +++ b/whois.es.php @@ -104,6 +104,9 @@ class es_handler $r['regrinfo']['registered'] = 'no'; $r['rawdata'][] = 'Domain not found'; } + + if (is_array($r['regrinfo']['domain']['nserver'][0])) + unset($r['regrinfo']['domain']['nserver'][0]); $r['regyinfo'] = array( 'referrer' => 'http://www.nic.es',