mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
LSsearch : Fix handling approx parameter
This commit is contained in:
parent
9059629846
commit
103689d6ad
1 changed files with 1 additions and 1 deletions
|
@ -629,7 +629,7 @@ class LSsearch {
|
||||||
|
|
||||||
$filters=array();
|
$filters=array();
|
||||||
foreach ($attrsList as $attr => $opts) {
|
foreach ($attrsList as $attr => $opts) {
|
||||||
if ($params['approx']) {
|
if ($this -> params['approx']) {
|
||||||
if (isset($opts['approxLSformat'])) {
|
if (isset($opts['approxLSformat'])) {
|
||||||
$filter=Net_LDAP2_Filter::parse(getFData($opts['approxLSformat'],array('name'=>$attr,'pattern'=>$pattern)));
|
$filter=Net_LDAP2_Filter::parse(getFData($opts['approxLSformat'],array('name'=>$attr,'pattern'=>$pattern)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue