From a835eee2cfb71e6dfe6f59bb4d7168965bcaef82 Mon Sep 17 00:00:00 2001 From: MCMic Date: Thu, 17 Sep 2020 18:14:23 +0200 Subject: [PATCH] Fix parameter mask in ldap_next_attribute Co-authored-by: Nikita Popov --- ext/ldap/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.50.1