We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents acfa564 + edc1309 commit f90a32cCopy full SHA for f90a32c
ext/dom/document.c
@@ -788,7 +788,7 @@ PHP_METHOD(DOMDocument, importNode)
788
789
/* If there is no root, the namespace cannot be attached to it, so we have to attach it to the old list. */
790
if (nsptr != NULL && root == NULL) {
791
- dom_set_old_ns(nodep->doc, nsptr);
+ php_libxml_set_old_ns(nodep->doc, nsptr);
792
}
793
794
retnodep->ns = nsptr;
0 commit comments