diff --git a/src/includes/class/class.LSldapObject.php b/src/includes/class/class.LSldapObject.php index 43612025..6296fafd 100644 --- a/src/includes/class/class.LSldapObject.php +++ b/src/includes/class/class.LSldapObject.php @@ -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];