diff --git a/public_html/includes/class/class.LSldapObject.php b/public_html/includes/class/class.LSldapObject.php index 551f3c63..75520de6 100644 --- a/public_html/includes/class/class.LSldapObject.php +++ b/public_html/includes/class/class.LSldapObject.php @@ -114,7 +114,7 @@ class LSldapObject { function reloadData() { $data = LSldap :: getAttrs($this -> dn); foreach($this -> attrs as $attr_name => $attr) { - if(!$this -> attrs[$attr_name] -> reloadData($data[$attr_name])) + if(!$this -> attrs[$attr_name] -> reloadData( (isset($data[$attr_name])?$data[$attr_name]:NULL) )) return; } return true;