Skip to content

Commit

Permalink
fix control default value in search function for php < 8.0.0 (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Coutadeur authored and davidcoutadeur committed Jan 8, 2025
1 parent decff85 commit b8eecca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ltb/Ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [[
Expand Down

0 comments on commit b8eecca

Please sign in to comment.