1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2025-03-25 21:31:36 +01:00

LSldapObject :: reloadData() : Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-25 12:23:56 +01:00
parent 791eb8fdb2
commit c3d2bc0751

View file

@ -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;