diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-14 11:52:33 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-09-14 11:52:33 +0200 |
commit | 1c81a3456372693dc4036fd7a3deb143cbb3aeef (patch) | |
tree | 4c1c833af9a900f1618668d9d15ec8bec4242a4b /ext/mbstring/mbstring.c | |
parent | eb86d0812867833d4f9c8a82997cd54249549027 (diff) | |
download | php-git-1c81a3456372693dc4036fd7a3deb143cbb3aeef.tar.gz |
Make mb_send_mail() consistent with mail()
The $additional_headers parameter shouldn't accept null.
Diffstat (limited to 'ext/mbstring/mbstring.c')
-rw-r--r-- | ext/mbstring/mbstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 1189270bec..58797eb244 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -3488,7 +3488,7 @@ PHP_FUNCTION(mb_send_mail) Z_PARAM_PATH(subject, subject_len) Z_PARAM_PATH(message, message_len) Z_PARAM_OPTIONAL - Z_PARAM_ARRAY_HT_OR_STR_OR_NULL(headers_ht, str_headers) + Z_PARAM_ARRAY_HT_OR_STR(headers_ht, str_headers) Z_PARAM_PATH_STR_OR_NULL(extra_cmd) ZEND_PARSE_PARAMETERS_END(); |