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

index 25f2b91317f901499c24c74b1eced317dffabcb1..ade25283c126e746c9b88afdb249460dad20c067 100644 (file)
@@ -153,7 +153,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