SOAP: Stop overwriting the node name when creating an XML node
for an object reference.
This commit is contained in:
Cameron Porter 2018-10-06 01:09:22 -05:00 committed by Nikita Popov
parent 1d5baf167a
commit db47e35373
4 changed files with 146 additions and 2 deletions

View file

@ -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");