From f406858cc9da5b6348d7e8568e34cdda7a034a21 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 17 May 2011 12:27:21 +0000 Subject: Fixed crash on recursive error handler invocation --- ext/soap/soap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 5929c2e24b..2ec70ac192 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2111,7 +2111,7 @@ static void soap_error_handler(int error_num, const char *error_filename, const _old_http_response_code = SG(sapi_headers).http_response_code; _old_http_status_line = SG(sapi_headers).http_status_line; - if (!SOAP_GLOBAL(use_soap_error_handler)) { + if (!SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_buckets) { call_old_error_handler(error_num, error_filename, error_lineno, format, args); return; } -- cgit v1.2.1