From 7dae9e6cadd3aa6610433105718caa1ce2d8e21e Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 2 Apr 2004 06:23:51 +0000 Subject: Fixed bug #27742 (WDSL SOAP Parsing Schema bug) --- ext/soap/php_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/soap/php_sdl.c') 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); } -- cgit v1.2.1