1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix build

This commit is contained in:
Niels Dossche
2024-05-29 18:50:07 +02:00
parent fe0214bb55
commit edc130910f

View File

@@ -816,7 +816,7 @@ PHP_METHOD(DOMDocument, importNode)
/* If there is no root, the namespace cannot be attached to it, so we have to attach it to the old list. */
if (nsptr != NULL && root == NULL) {
dom_set_old_ns(nodep->doc, nsptr);
php_libxml_set_old_ns(nodep->doc, nsptr);
}
}
retnodep->ns = nsptr;