Update epp.php
This commit is contained in:
parent
980236ba59
commit
05e08ddd11
1 changed files with 1 additions and 1 deletions
2
epp.php
2
epp.php
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue