mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 03:43:08 +01:00
LSsearch::setParams() : fixed attributes setting
This commit is contained in:
parent
6f84a238f3
commit
2eee30bd17
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ class LSsearch {
|
||||||
}
|
}
|
||||||
elseif (is_array($params['attributes'])) {
|
elseif (is_array($params['attributes'])) {
|
||||||
$this -> params['attributes']=array();
|
$this -> params['attributes']=array();
|
||||||
foreach ($this -> params['attributes'] as $attr) {
|
foreach ($params['attributes'] as $attr) {
|
||||||
if (is_string($attr)) {
|
if (is_string($attr)) {
|
||||||
if (LSconfig::get("LSobjects.".$this -> LSobject.".attrs.$attr")) {;
|
if (LSconfig::get("LSobjects.".$this -> LSobject.".attrs.$attr")) {;
|
||||||
$this -> params['attributes'][] = $attr;
|
$this -> params['attributes'][] = $attr;
|
||||||
|
|
Loading…
Reference in a new issue