File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1720,13 +1720,10 @@ PHP_METHOD(SoapServer, addSoapHeader)
17201720 RETURN_THROWS ();
17211721 }
17221722
1723- SOAP_SERVER_BEGIN_CODE ();
1724-
1725- FETCH_THIS_SERVICE (service );
1723+ FETCH_THIS_SERVICE_NO_BAILOUT (service );
17261724
17271725 if (!service || !service -> soap_headers_ptr ) {
17281726 zend_throw_error (NULL , "SoapServer::addSoapHeader() may be called only during SOAP request processing" );
1729- SOAP_SERVER_END_CODE ();
17301727 RETURN_THROWS ();
17311728 }
17321729
@@ -1738,8 +1735,6 @@ PHP_METHOD(SoapServer, addSoapHeader)
17381735 memset (* p , 0 , sizeof (soapHeader ));
17391736 ZVAL_NULL (& (* p )-> function_name );
17401737 ZVAL_OBJ_COPY (& (* p )-> retval , Z_OBJ_P (fault ));
1741-
1742- SOAP_SERVER_END_CODE ();
17431738}
17441739/* }}} */
17451740
You can’t perform that action at this time.
0 commit comments