diff --git a/lib/Util.php b/lib/Util.php index 0941a26..3fe3290 100644 --- a/lib/Util.php +++ b/lib/Util.php @@ -442,6 +442,10 @@ public function getDCVEMailAddressList(array $params) if ($responseArray['errorCode'] == 0) { $result = new GetDCVEMailAddressListResult(); + + if (isset($responseArray['whois_email'][0]) && $responseArray['whois_email'][0] == 'none') { + unset($responseArray['whois_email'][0]); + } $result ->setDomainName($responseArray['domain_name'])