Update epp.php

This commit is contained in:
Pinga 2023-02-16 19:49:48 +02:00 committed by GitHub
parent 980236ba59
commit 05e08ddd11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1306,7 +1306,7 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
} }
$r = simplexml_load_string($this->readResponse()); $r = simplexml_load_string($this->readResponse());
if (isset($r->response) && $r->response->result->attributes()->code >= 2000) { if (isset($r->response) && $r->response->result->attributes()->code >= 2000) {
throw new EppException($r->response->result->msg); throw new exception($r->response->result->msg);
} }
return $r; return $r;
} }