Merge pull request #8105 from PeterUpfold/PeterUpfold-7661workaround

Propose workaround for #7661 — suppress E_DEPRECATED on ldap_control_paged_result()
This commit is contained in:
Brady Wetherington 2020-08-10 17:22:31 -07:00 committed by GitHub
commit e0644dbbf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,7 +286,7 @@ class Ldap extends Model
// Clean up after search // Clean up after search
$result_set['count'] = $global_count; $result_set['count'] = $global_count;
$results = $result_set; $results = $result_set;
ldap_control_paged_result($ldapconn, 0); @ldap_control_paged_result($ldapconn, 0);
return $results; return $results;