File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2012,17 +2012,17 @@ PHP_METHOD(SoapServer, addSoapHeader)
2012
2012
2013
2013
SOAP_SERVER_BEGIN_CODE ();
2014
2014
2015
+ if (zend_parse_parameters (ZEND_NUM_ARGS (), "O" , & fault , soap_header_class_entry ) == FAILURE ) {
2016
+ return ;
2017
+ }
2018
+
2015
2019
FETCH_THIS_SERVICE (service );
2016
2020
2017
2021
if (!service || !service -> soap_headers_ptr ) {
2018
2022
php_error_docref (NULL , E_WARNING , "The SoapServer::addSoapHeader function may be called only during SOAP request processing" );
2019
2023
return ;
2020
2024
}
2021
2025
2022
- if (zend_parse_parameters (ZEND_NUM_ARGS (), "O" , & fault , soap_header_class_entry ) == FAILURE ) {
2023
- return ;
2024
- }
2025
-
2026
2026
p = service -> soap_headers_ptr ;
2027
2027
while (* p != NULL ) {
2028
2028
p = & (* p )-> next ;
You can’t perform that action at this time.
0 commit comments