Skip to content

Commit

Permalink
Fixed a stupid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga authored Mar 1, 2023
1 parent 06f08c9 commit 8af775c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epp.php
Original file line number Diff line number Diff line change
Expand Up @@ -1987,7 +1987,7 @@ function write($xml, $action = 'Unknown')
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());
_epp_modulelog($xml, $r, $action);
if (isset($r->response) && $r->response->result->attributes()->code >= 2000) {
throw new exception($r->response->result->msg);
Expand Down

0 comments on commit 8af775c

Please sign in to comment.