Skip to content

Commit 1d3787e

Browse files
author
Côme Chilliet
committed
Rename $link parameters to $ldap in ldap functions
Also fixed ldap_set_option places where $newvalue was still used
1 parent 29e1a97 commit 1d3787e

File tree

5 files changed

+156
-156
lines changed

5 files changed

+156
-156
lines changed

ext/ldap/ldap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,12 +1601,12 @@ static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope)
16011601
}
16021602

16031603
if (!base_dn_str) {
1604-
zend_argument_type_error(2, "must be of type string when argument #1 ($link_identifier) is a resource");
1604+
zend_argument_type_error(2, "must be of type string when argument #1 ($ldap) is a resource");
16051605
}
16061606
ldap_base_dn = zend_string_copy(base_dn_str);
16071607

16081608
if (!filter_str) {
1609-
zend_argument_type_error(3, "must be of type string when argument #1 ($link_identifier) is a resource");
1609+
zend_argument_type_error(3, "must be of type string when argument #1 ($ldap) is a resource");
16101610
}
16111611
ldap_filter = zend_string_copy(filter_str);
16121612

0 commit comments

Comments
 (0)