mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSsearch : fix possibility to specify a filter and a pattern (in the same time)
This commit is contained in:
parent
c63040203d
commit
6ea6b78fd4
1 changed files with 3 additions and 7 deletions
|
@ -280,13 +280,9 @@ class LSsearch {
|
|||
if (isset($params['pattern'])) {
|
||||
if ($params['pattern']=="") {
|
||||
$this -> params['pattern'] = NULL;
|
||||
$this -> params['filter'] = NULL;
|
||||
}
|
||||
elseif ($this -> isValidPattern($params['pattern'])) {
|
||||
$this -> params['pattern'] = $params['pattern'];
|
||||
if (!is_string($params['filter'])) {
|
||||
$this -> params['filter']=NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue