]> granicus.if.org Git - php/commitdiff
fix bug #46191 (BC break: DOMDocument saveXML() doesn't accept null)
authorRob Richards <rrichards@php.net>
Sun, 28 Sep 2008 11:59:54 +0000 (11:59 +0000)
committerRob Richards <rrichards@php.net>
Sun, 28 Sep 2008 11:59:54 +0000 (11:59 +0000)
ext/dom/document.c

index fb484ef0d73c6eca0a6c959cc9d0c2fd467ca439..b2611db9550d64aaadeedd60ad2bd6a2842eaa58 100644 (file)
@@ -155,7 +155,7 @@ ZEND_END_ARG_INFO();
 
 static
 ZEND_BEGIN_ARG_INFO_EX(arginfo_dom_document_savexml, 0, 0, 0)
-       ZEND_ARG_OBJ_INFO(0, node, DOMNode, 0)
+       ZEND_ARG_OBJ_INFO(0, node, DOMNode, 1)
 ZEND_END_ARG_INFO();
 
 static