From de2ef69032b5d9c4dcb050f38634002bf5394108 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 15 Apr 2002 15:39:10 +0000 Subject: [PATCH] - DomNode->replace_node() now returns the node that was replace and not the new node - fixes Bug #15949 --- ext/domxml/php_domxml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index d2681a03307..8299b7d7c44 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); } /* }}} */