mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Bug #69293 NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)
This was a typo introduced in c8eaca013a
This commit is contained in:
parent
a52385fc02
commit
76c1ec5e96
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ static xmlNodePtr master_to_xml_int(encodePtr encode, zval *data, int style, xml
|
|||
xmlNodeSetName(node, BAD_CAST(Z_STRVAL_PP(zname)));
|
||||
}
|
||||
if (zend_hash_find(ht, "enc_namens", sizeof("enc_namens"), (void **)&znamens) == SUCCESS &&
|
||||
Z_TYPE_PP(zname) == IS_STRING) {
|
||||
Z_TYPE_PP(znamens) == IS_STRING) {
|
||||
xmlNsPtr nsp = encode_add_ns(node, Z_STRVAL_PP(znamens));
|
||||
xmlSetNs(node, nsp);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue