mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +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();
|
||||
foreach ($attrsList as $attr => $opts) {
|
||||
if ($params['approx']) {
|
||||
if ($this -> params['approx']) {
|
||||
if (isset($opts['approxLSformat'])) {
|
||||
$filter=Net_LDAP2_Filter::parse(getFData($opts['approxLSformat'],array('name'=>$attr,'pattern'=>$pattern)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue