diff options
author | Cameron Porter <camporter1@gmail.com> | 2018-10-06 01:09:22 -0500 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-10-23 14:20:19 +0200 |
commit | db47e35373513705b84b7391ed25e9854308eef2 (patch) | |
tree | 64f9956f5bdf086300ba678a073334716fcefb1b /ext/soap/php_encoding.c | |
parent | 1d5baf167a79f8b6842e46b238eb7fb99dcb3e6b (diff) | |
download | php-git-db47e35373513705b84b7391ed25e9854308eef2.tar.gz |
Fixed bug #50675
SOAP: Stop overwriting the node name when creating an XML node
for an object reference.
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r-- | ext/soap/php_encoding.c | 2 |
1 files changed, 0 insertions, 2 deletions
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"); |