Skip to content
Snippets Groups Projects
Commit df61c153 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Fixed issue with ackpoll sending data in wrong format

Change-Id: Id01fc85922bf7c4bd10b8ae17bf55d85505e17cc
parent a544d69f
No related branches found
No related tags found
No related merge requests found
...@@ -891,10 +891,9 @@ function _cozaepp_message($code) { ...@@ -891,10 +891,9 @@ function _cozaepp_message($code) {
function _cozaepp_ackpoll($client,$msgid) { function _cozaepp_ackpoll($client,$msgid) {
# Ack poll message # Ack poll message
$output = $client->request(' $output = $client->request('
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<command> <command>
<poll op="ack" msgID="'.$id.'"/> <poll op="ack" msgID="'.$msgid.'"/>
</command> </command>
</epp> </epp>
'); ');
...@@ -911,7 +910,7 @@ function _cozaepp_ackpoll($client,$msgid) { ...@@ -911,7 +910,7 @@ function _cozaepp_ackpoll($client,$msgid) {
# Check result # Check result
if($coderes != '1301') { if($coderes != '1301') {
return new PEAR_Error("ackpoll/poll-ack($id): Code ($msgid) $msg"); return new PEAR_Error("ackpoll/poll-ack($id): Code ($coderes) $msg");
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment