Skip to content

Commit

Permalink
Update epp.php
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga authored Feb 16, 2023
1 parent 758fd6a commit 06f08c9
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 @@ -1990,7 +1990,7 @@ function write($xml, $action = 'Unknown')
$r = simplexml_load_string($this->readResponse());
_epp_modulelog($xml, $r, $action);
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;
}
Expand Down

0 comments on commit 06f08c9

Please sign in to comment.