dmitry Mon Sep 1 14:55:42 2008 UTC Modified files: /php-src/ext/soap soap.c Log: Disabled warning messages in SoapClient constructor http://cvs.php.net/viewvc.cgi/php-src/ext/soap/soap.c?r1=1.247&r2=1.248&diff_format=u Index: php-src/ext/soap/soap.c diff -u php-src/ext/soap/soap.c:1.247 php-src/ext/soap/soap.c:1.248 --- php-src/ext/soap/soap.c:1.247 Tue Jul 22 01:46:43 2008 +++ php-src/ext/soap/soap.c Mon Sep 1 14:55:42 2008 @@ -17,7 +17,7 @@ | Dmitry Stogov <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: soap.c,v 1.247 2008/07/22 01:46:43 felipe Exp $ */ +/* $Id: soap.c,v 1.248 2008/09/01 14:55:42 dmitry Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -2685,7 +2685,10 @@ EG(objects_store).object_buckets = old_objects; PG(display_errors) = old; zend_bailout(); - } else { + } else if (!client->exceptions || + !SOAP_GLOBAL(error_code) || + strcmp(SOAP_GLOBAL(error_code),"WSDL") != 0) { + /* Ignore libxml warnings during WSDL parsing */ call_old_error_handler(error_num, error_filename, error_lineno, format, args); } } else {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php