mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Use ZVAL_COPY() instead og ZVAL_DUP(), because fault is an object
This commit is contained in:
parent
b19d81e0da
commit
515b0508e0
@ -2041,7 +2041,7 @@ PHP_METHOD(SoapServer, addSoapHeader)
|
||||
*p = emalloc(sizeof(soapHeader));
|
||||
memset(*p, 0, sizeof(soapHeader));
|
||||
ZVAL_NULL(&(*p)->function_name);
|
||||
ZVAL_DUP(&(*p)->retval, fault);
|
||||
ZVAL_COPY(&(*p)->retval, fault);
|
||||
|
||||
SOAP_SERVER_END_CODE();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user