diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-04-02 06:23:51 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-04-02 06:23:51 +0000 |
commit | 7dae9e6cadd3aa6610433105718caa1ce2d8e21e (patch) | |
tree | 21a3b966b0068de983490e70046050722232c814 /ext/soap/php_sdl.c | |
parent | 9a6dad867d1d0c5325dbc94e8db0e45035f7dba1 (diff) | |
download | php-git-7dae9e6cadd3aa6610433105718caa1ce2d8e21e.tar.gz |
Fixed bug #27742 (WDSL SOAP Parsing Schema bug)
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r-- | ext/soap/php_sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index 61a0be0fe2..51161c327f 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -885,7 +885,7 @@ static sdlPtr load_wsdl(char *struri) f->name = estrdup(name->children->content); f->details = wsdl_message(&ctx, message->children->content); - if (f->details == NULL || zend_hash_num_elements(f->details) != 1) { + if (f->details == NULL || zend_hash_num_elements(f->details) > 1) { php_error(E_ERROR, "SOAP-ERROR: Parsing WSDL: The fault message '%s' must have a single part", message->children->content); } |