Skip to content

Commit 0de0c4a

Browse files
committed
Fixed Bug #70032 (make_http_soap_request calls zend_hash_get_current_key_ex(,,,NULL))
1 parent a55ca9a commit 0de0c4a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
- Core:
66
. Fixed bug #70012 (Exception lost with nested finally block). (Laruence)
77

8+
- Soap:
9+
. Fixed bug #70032 (make_http_soap_request calls
10+
zend_hash_get_current_key_ex(,,,NULL). (Laruence)
11+
812
- Standard:
913
. Fixed bug #70018 (exec does not strip all whitespace). (Laruence)
1014

ext/soap/php_http.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ int make_http_soap_request(zval *this_ptr,
814814
smart_str_append_const(&soap_headers, "Cookie: ");
815815
for (i = 0; i < n; i++) {
816816
data = zend_hash_get_current_data(Z_ARRVAL_P(cookies));
817-
zend_hash_get_current_key_ex(Z_ARRVAL_P(cookies), &key, NULL, NULL);
817+
zend_hash_get_current_key(Z_ARRVAL_P(cookies), &key, NULL);
818818

819819
if (Z_TYPE_P(data) == IS_ARRAY) {
820820
zval *value;

0 commit comments

Comments
 (0)