diff --git a/Protocols/EPP/eppConnection.php b/Protocols/EPP/eppConnection.php index 1bcd6d65..c66e9dad 100755 --- a/Protocols/EPP/eppConnection.php +++ b/Protocols/EPP/eppConnection.php @@ -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() {