LSsearch : Added error message on invalid filter detection in predefinedFilters

This commit is contained in:
Benjamin Renard 2010-02-19 14:25:07 +01:00
parent 566eab9390
commit 530b4d86b3

View file

@ -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]);
}
}