We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dac08e5 commit 8cb0da9Copy full SHA for 8cb0da9
Protocols/EPP/eppConnection.php
@@ -969,8 +969,12 @@ public function setRetry($retry)
969
$this->retry = $retry;
970
}
971
972
- public function addDefaultNamespace($xmlns, $namespace) {
973
- $this->defaultnamespace[$namespace] = 'xmlns:' . $xmlns;
+ public function addDefaultNamespace($xmlns, $namespace, $addxmlns=true) {
+ if ($addxmlns) {
974
+ $this->defaultnamespace[$namespace] = 'xmlns:' . $xmlns;
975
+ } else {
976
+ $this->defaultnamespace[$namespace] = $xmlns;
977
+ }
978
979
980
public function getDefaultNamespaces() {
0 commit comments