1
0
mirror of https://github.com/php/php-src.git synced 2026-04-03 14:12:38 +02:00

Fix parameter mask in ldap_next_attribute

Co-authored-by: Nikita Popov <nikita.ppv@googlemail.com>
This commit is contained in:
MCMic
2020-09-17 18:14:23 +02:00
committed by Côme Chilliet
parent c2a6da5ab2
commit a835eee2cf

View File

@@ -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();
}