]> granicus.if.org Git - php/commitdiff
Fixed bug #38700 (SoapClient::__getTypes never returns)
authorDmitry Stogov <dmitry@php.net>
Mon, 4 Sep 2006 10:52:34 +0000 (10:52 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 4 Sep 2006 10:52:34 +0000 (10:52 +0000)
NEWS
ext/soap/soap.c

diff --git a/NEWS b/NEWS
index aacd6cb228742ed56a00a84aee979fdabe8285b8..ccb356ae782eae4e11b70d6e192c52aa0330c498 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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)
 
 
index 5f1dc96523c7d0fd73f8665293060ab5a785beea..d050c47fb931f19056acb0158ba6f8f029c669e9 100644 (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) {