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

Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix build
This commit is contained in:
Niels Dossche
2024-05-29 18:50:13 +02:00

View File

@@ -788,7 +788,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;