Fixed bug #38700 (SoapClient::__getTypes never returns)

This commit is contained in:
Dmitry Stogov 2006-09-04 10:52:34 +00:00
parent 75876d57be
commit 8166284cfd
2 changed files with 2 additions and 0 deletions

1
NEWS
View File

@ -1,6 +1,7 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Sep 2006, PHP 5.2.0RC4
- Fixed bug #38700 (SoapClient::__getTypes never returns). (Dmitry)
- Fixed bug #38661 (mixed-case URL breaks url-wrappers). (Ilia)

View File

@ -4543,6 +4543,7 @@ static void type_to_string(sdlTypePtr type, smart_str *buf, int level)
type->kind == XSD_TYPEKIND_EXTENSION) && type->encode) {
encodePtr enc = type->encode;
while (enc && enc->details.sdl_type &&
enc != enc->details.sdl_type->encode &&
enc->details.sdl_type->kind != XSD_TYPEKIND_SIMPLE &&
enc->details.sdl_type->kind != XSD_TYPEKIND_LIST &&
enc->details.sdl_type->kind != XSD_TYPEKIND_UNION) {