From e9cf79d23d274b8c7fc922cf630816b348a4f4f2 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 4 Sep 2006 10:52:44 +0000 Subject: [PATCH] Fixed bug #38700 (SoapClient::__getTypes never returns) --- ext/soap/soap.c | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.50.1