mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #50675
SOAP: Stop overwriting the node name when creating an XML node for an object reference.
This commit is contained in:
parent
1d5baf167a
commit
db47e35373
4 changed files with 146 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue