Skip to content

Commit 6cef850

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Don't pass null action to __doRequest
2 parents 35b2426 + ce7935e commit 6cef850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2217,7 +2217,7 @@ static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *act
22172217
ZVAL_STRINGL(&params[0], buf, buf_size);
22182218
ZVAL_STRING(&params[1], location);
22192219
if (action == NULL) {
2220-
ZVAL_NULL(&params[2]);
2220+
ZVAL_EMPTY_STRING(&params[2]);
22212221
} else {
22222222
ZVAL_STRING(&params[2], action);
22232223
}

0 commit comments

Comments
 (0)