mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LSsearch : Fixed bug on no attributes specifies in config for LSsearch
This commit is contained in:
parent
186279bab4
commit
fe57bf75b0
1 changed files with 2 additions and 2 deletions
|
@ -576,8 +576,8 @@ class LSsearch {
|
|||
if (self :: isValidPattern($pattern)) {
|
||||
$attrsConfig=LSconfig::get("LSobjects.".$this -> LSobject.".LSsearch.attrs");
|
||||
$attrsList=array();
|
||||
if (!is_array($attrsList)) {
|
||||
foreach(LSconfig::get("LSobjects.".$this -> LSobject.".attrs") as $attr) {
|
||||
if (!is_array($attrsConfig)) {
|
||||
foreach(LSconfig::get("LSobjects.".$this -> LSobject.".attrs") as $attr => $config) {
|
||||
$attrsList[$attr]=array();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue