diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-10-05 16:00:40 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-10-05 16:00:40 +0000 |
commit | fb6072e10dac347cdcdeae3827cbcd46bd0b642a (patch) | |
tree | ae86b1a488f785aa89b6de77c4af45c364749d72 /ext/soap/php_packet_soap.c | |
parent | 6414c8606a17e9b8ae56761bfc8f1603daf26984 (diff) | |
download | php-git-fb6072e10dac347cdcdeae3827cbcd46bd0b642a.tar.gz |
Fixed bug #30175 (SOAP results aren't parsed correctly)
Diffstat (limited to 'ext/soap/php_packet_soap.c')
-rw-r--r-- | ext/soap/php_packet_soap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/soap/php_packet_soap.c b/ext/soap/php_packet_soap.c index 2b781e868e..7b0465f1f2 100644 --- a/ext/soap/php_packet_soap.c +++ b/ext/soap/php_packet_soap.c @@ -271,6 +271,9 @@ int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunction cur = get_node(resp, name); /* TODO: produce warning invalid ns */ } + if (!cur && fnb->style == SOAP_RPC) { + cur = resp; + } if (cur) { if (fnb->style == SOAP_DOCUMENT) { val = cur; |