Fixed a stupid bug
This commit is contained in:
parent
05e08ddd11
commit
8623c23763
1 changed files with 1 additions and 1 deletions
2
epp.php
2
epp.php
|
@ -1304,7 +1304,7 @@ class Registrar_Adapter_EPP extends Registrar_AdapterAbstract
|
|||
if (fwrite($this->socket, pack('N', (strlen($xml) + 4)) . $xml) === false) {
|
||||
throw new exception('Error writing to the connection.');
|
||||
}
|
||||
$r = simplexml_load_string($this->readResponse());
|
||||
$r = simplexml_load_string($this->read());
|
||||
if (isset($r->response) && $r->response->result->attributes()->code >= 2000) {
|
||||
throw new exception($r->response->result->msg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue