Skip to content

Commit 8cb0da9

Browse files
committed
Issue 244 resolved
1 parent dac08e5 commit 8cb0da9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Protocols/EPP/eppConnection.php

+6-2
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,12 @@ public function setRetry($retry)
969969
$this->retry = $retry;
970970
}
971971

972-
public function addDefaultNamespace($xmlns, $namespace) {
973-
$this->defaultnamespace[$namespace] = 'xmlns:' . $xmlns;
972+
public function addDefaultNamespace($xmlns, $namespace, $addxmlns=true) {
973+
if ($addxmlns) {
974+
$this->defaultnamespace[$namespace] = 'xmlns:' . $xmlns;
975+
} else {
976+
$this->defaultnamespace[$namespace] = $xmlns;
977+
}
974978
}
975979

976980
public function getDefaultNamespaces() {

0 commit comments

Comments
 (0)