mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
LSsearch : Added error message on invalid filter detection in predefinedFilters
This commit is contained in:
parent
566eab9390
commit
530b4d86b3
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ class LSsearch {
|
|||
if (is_array($this -> config['predefinedFilters'])) {
|
||||
foreach(array_keys($this -> config['predefinedFilters']) as $key) {
|
||||
if(!LSldap::isValidFilter($key)) {
|
||||
LSerror::addErrorCode('LSsearch_01','$key');
|
||||
unset($this -> config['predefinedFilters'][$key]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue