Skip to content

Commit

Permalink
Force suppress deprecation warning on ldap_control_paged_result()
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterUpfold committed Jun 3, 2020
1 parent beae8ef commit 004ecad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static function findLdapUsers($base_dn = null)
// Clean up after search
$result_set['count'] = $global_count;
$results = $result_set;
ldap_control_paged_result($ldapconn, 0);
@ldap_control_paged_result($ldapconn, 0);

return $results;

Expand Down

0 comments on commit 004ecad

Please sign in to comment.