@@ -1499,7 +1499,7 @@ static void _soap_server_exception(soapServicePtr service, sdlFunctionPtr functi
14991499 } else if (instanceof_function (Z_OBJCE (exception_object ), zend_get_error ())) {
15001500 if (service -> send_errors ) {
15011501 zval rv ;
1502- zend_string * msg = zval_get_string (zend_read_property (zend_get_exception_base ( & exception_object ), & exception_object , "message" , sizeof ("message" )- 1 , 0 , & rv ));
1502+ zend_string * msg = zval_get_string (zend_read_property (zend_get_error ( ), & exception_object , "message" , sizeof ("message" )- 1 , 0 , & rv ));
15031503 add_soap_fault_ex (& exception_object , this_ptr , "Server" , msg -> val , NULL , NULL );
15041504 zend_string_release (msg );
15051505 } else {
@@ -2602,7 +2602,7 @@ static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *act
26022602 zval exception_object ;
26032603
26042604 ZVAL_OBJ (& exception_object , EG (exception ));
2605- msg = zval_get_string (zend_read_property (zend_get_exception_base ( & exception_object ), & exception_object , "message" , sizeof ("message" )- 1 , 0 , & rv ));
2605+ msg = zval_get_string (zend_read_property (zend_get_error ( ), & exception_object , "message" , sizeof ("message" )- 1 , 0 , & rv ));
26062606 /* change class */
26072607 EG (exception )-> ce = soap_fault_class_entry ;
26082608 set_soap_fault (& exception_object , NULL , "Client" , msg -> val , NULL , NULL , NULL );
0 commit comments