mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
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:
commit
e0644dbbf6
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue