From: Dmitry Stogov Date: Mon, 4 Sep 2006 10:52:44 +0000 (+0000) Subject: Fixed bug #38700 (SoapClient::__getTypes never returns) X-Git-Tag: RELEASE_1_0_0RC1~1781 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9cf79d23d274b8c7fc922cf630816b348a4f4f2;p=php Fixed bug #38700 (SoapClient::__getTypes never returns) --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index a74e0a067c..3a765dd081 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -5034,6 +5034,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) {