From db47e35373513705b84b7391ed25e9854308eef2 Mon Sep 17 00:00:00 2001 From: Cameron Porter Date: Sat, 6 Oct 2018 01:09:22 -0500 Subject: Fixed bug #50675 SOAP: Stop overwriting the node name when creating an XML node for an object reference. --- ext/soap/php_encoding.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ext/soap/php_encoding.c') diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c index 2da75a3e2e..6051995713 100644 --- a/ext/soap/php_encoding.c +++ b/ext/soap/php_encoding.c @@ -298,8 +298,6 @@ static zend_bool soap_check_zval_ref(zval *data, xmlNodePtr node) { if (node_ptr == node) { return 0; } - xmlNodeSetName(node, node_ptr->name); - xmlSetNs(node, node_ptr->ns); if (SOAP_GLOBAL(soap_version) == SOAP_1_1) { while (1) { attr = get_attribute(attr, "id"); -- cgit v1.2.1