diff options
Diffstat (limited to 'ext/soap/soap.c')
-rw-r--r-- | ext/soap/soap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 32bf5ca6f..0453dc28e 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -151,7 +151,9 @@ static void soap_error_handler(int error_num, const char *error_filename, const if (zend_hash_find(Z_OBJPROP_P(this_ptr),"service", sizeof("service"), (void **)&tmp) != FAILURE) { \ ss = (soapServicePtr)zend_fetch_resource(tmp TSRMLS_CC, -1, "service", NULL, 1, le_service); \ } else { \ - ss = NULL; \ + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can not fetch service object"); \ + SOAP_SERVER_END_CODE(); \ + return; \ } \ } |