Skip to content

Commit

Permalink
Issue 244 resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
metaregistrar committed Apr 24, 2020
1 parent dac08e5 commit 8cb0da9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Protocols/EPP/eppConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -969,8 +969,12 @@ public function setRetry($retry)
$this->retry = $retry;
}

public function addDefaultNamespace($xmlns, $namespace) {
$this->defaultnamespace[$namespace] = 'xmlns:' . $xmlns;
public function addDefaultNamespace($xmlns, $namespace, $addxmlns=true) {
if ($addxmlns) {
$this->defaultnamespace[$namespace] = 'xmlns:' . $xmlns;
} else {
$this->defaultnamespace[$namespace] = $xmlns;
}
}

public function getDefaultNamespaces() {
Expand Down

0 comments on commit 8cb0da9

Please sign in to comment.