Fixed Bug #70032 (make_http_soap_request calls zend_hash_get_current_key_ex(,,,NULL))

This commit is contained in:
Xinchen Hui 2015-07-09 16:32:18 +08:00
parent a55ca9a8d1
commit 0de0c4ace1
2 changed files with 5 additions and 1 deletions

4
NEWS
View File

@ -5,6 +5,10 @@
- Core:
. Fixed bug #70012 (Exception lost with nested finally block). (Laruence)
- Soap:
. Fixed bug #70032 (make_http_soap_request calls
zend_hash_get_current_key_ex(,,,NULL). (Laruence)
- Standard:
. Fixed bug #70018 (exec does not strip all whitespace). (Laruence)

View File

@ -814,7 +814,7 @@ try_again:
smart_str_append_const(&soap_headers, "Cookie: ");
for (i = 0; i < n; i++) {
data = zend_hash_get_current_data(Z_ARRVAL_P(cookies));
zend_hash_get_current_key_ex(Z_ARRVAL_P(cookies), &key, NULL, NULL);
zend_hash_get_current_key(Z_ARRVAL_P(cookies), &key, NULL);
if (Z_TYPE_P(data) == IS_ARRAY) {
zval *value;