From: MCMic Date: Thu, 17 Sep 2020 16:14:23 +0000 (+0200) Subject: Fix parameter mask in ldap_next_attribute X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a835eee2cfb71e6dfe6f59bb4d7168965bcaef82;p=php Fix parameter mask in ldap_next_attribute Co-authored-by: Nikita Popov --- diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index b8f3c35ab9..1f99e20720 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -1941,7 +1941,7 @@ PHP_FUNCTION(ldap_next_attribute) ldap_resultentry *resultentry; char *attribute; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "rr|l", &link, &result_entry) != SUCCESS) { + if (zend_parse_parameters(ZEND_NUM_ARGS(), "rr", &link, &result_entry) != SUCCESS) { RETURN_THROWS(); }