diff options
Diffstat (limited to 'ext/soap/soap.c')
| -rw-r--r-- | ext/soap/soap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 2d09138f48..4e635a42dc 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -821,8 +821,8 @@ PHP_METHOD(SoapFault, __toString) zend_fcall_info fci; zval fname; - if (ZEND_NUM_ARGS() > 0) { - ZEND_WRONG_PARAM_COUNT(); + if (zend_parse_parameters_none() == FAILURE) { + return; } faultcode = zend_read_property(soap_fault_class_entry, this_ptr, "faultcode", sizeof("faultcode")-1, 1 TSRMLS_CC); |
