mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
LSldapObject::getValue(): ensure return is array in case of attribute
This commit is contained in:
parent
5e500d5cde
commit
6770babe14
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ class LSldapObject extends LSlog_staticLoggerClass {
|
|||
}
|
||||
else if(isset($this -> attrs[$val])){
|
||||
if (method_exists($this -> attrs[$val],'getValue'))
|
||||
$return = $this -> attrs[$val] -> getValue();
|
||||
$return = ensureIsArray($this -> attrs[$val] -> getValue());
|
||||
}
|
||||
else if(isset($this -> other_values[$val])){
|
||||
$return = $this -> other_values[$val];
|
||||
|
|
Loading…
Reference in a new issue