mirror of
https://github.com/php/php-src.git
synced 2026-04-27 18:23:26 +02:00
Fixed transparent SoapFault passing
This commit is contained in:
@@ -3498,6 +3498,15 @@ static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function
|
||||
zend_hash_internal_pointer_reset(fault->details);
|
||||
zend_hash_get_current_data(fault->details, (void**)&sparam);
|
||||
sparam = *(sdlParamPtr*)sparam;
|
||||
|
||||
if (detail &&
|
||||
Z_TYPE_P(detail) == IS_OBJECT &&
|
||||
sparam->element &&
|
||||
zend_hash_num_elements(Z_OBJPROP_P(detail)) == 1 &&
|
||||
zend_hash_find(Z_OBJPROP_P(detail), sparam->element->name, strlen(sparam->element->name)+1, (void**)&tmp) == SUCCESS) {
|
||||
detail = *tmp;
|
||||
}
|
||||
|
||||
x = serialize_parameter(sparam, detail, 1, NULL, use, node TSRMLS_CC);
|
||||
|
||||
if (function &&
|
||||
|
||||
Reference in New Issue
Block a user