mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-08 20:13:24 +02:00
More RST fixes
This commit is contained in:
parent
b150d95b36
commit
b11a80e0fb
7 changed files with 94 additions and 41 deletions
|
@ -377,8 +377,12 @@ class EppWriter {
|
|||
private function _postamble($writer, $resp) {
|
||||
if (isset($resp['clTRID']) || isset($resp['svTRID'])) {
|
||||
$writer->startElement('trID');
|
||||
$writer->writeElement('clTRID', $resp['clTRID']);
|
||||
$writer->writeElement('svTRID', $resp['svTRID']);
|
||||
if (isset($resp['clTRID']) && $resp['clTRID'] !== '') {
|
||||
$writer->writeElement('clTRID', $resp['clTRID']);
|
||||
}
|
||||
if (isset($resp['svTRID']) && $resp['svTRID'] !== '') {
|
||||
$writer->writeElement('svTRID', $resp['svTRID']);
|
||||
}
|
||||
$writer->endElement(); // End of 'trID'
|
||||
}
|
||||
$writer->endElement(); // End of 'response'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue