Skip to content

Commit 75f40ae

Browse files
committed
Fixed bug #69293
1 parent fe0ca27 commit 75f40ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/php_encoding.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ static xmlNodePtr master_to_xml_int(encodePtr encode, zval *data, int style, xml
464464
xmlNodeSetName(node, BAD_CAST(Z_STRVAL_PP(zname)));
465465
}
466466
if (zend_hash_find(ht, "enc_namens", sizeof("enc_namens"), (void **)&znamens) == SUCCESS &&
467-
Z_TYPE_PP(zname) == IS_STRING) {
467+
Z_TYPE_PP(znamens) == IS_STRING) {
468468
xmlNsPtr nsp = encode_add_ns(node, Z_STRVAL_PP(znamens));
469469
xmlSetNs(node, nsp);
470470
}

0 commit comments

Comments
 (0)