diff --git a/src/Ltb/Ldap.php b/src/Ltb/Ldap.php index 22afd8c..dcfa4aa 100644 --- a/src/Ltb/Ldap.php +++ b/src/Ltb/Ldap.php @@ -130,7 +130,7 @@ function search($ldap_filter,$attributes, $attributes_map, $search_result_title, $cookie = ""; do { - $controls = null; + $controls = []; if($this->ldap_page_size != 0) { $controls = [[