diff options
author | Uwe Steinmann <steinm@php.net> | 2002-04-15 15:39:10 +0000 |
---|---|---|
committer | Uwe Steinmann <steinm@php.net> | 2002-04-15 15:39:10 +0000 |
commit | de2ef69032b5d9c4dcb050f38634002bf5394108 (patch) | |
tree | ed6583a67ca5751e05771b1f5c2bb4ce7c63b21b /ext/domxml/php_domxml.c | |
parent | c7e391637c0942c6bf8b6df7a090765250410576 (diff) | |
download | php-git-de2ef69032b5d9c4dcb050f38634002bf5394108.tar.gz |
- DomNode->replace_node() now returns the node that was replace and
not the new node
- fixes Bug #15949
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index d2681a0330..8299b7d7c4 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -2014,7 +2014,7 @@ PHP_FUNCTION(domxml_node_replace_node) repnode = xmlReplaceNode(nodep, new_repnode); - DOMXML_RET_OBJ(rv, repnode, &ret); + DOMXML_RET_OBJ(rv, nodep, &ret); } /* }}} */ |