mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 22:43:47 +01:00
LSldapObject :: reloadData() : Fixed notice PHP
This commit is contained in:
parent
791eb8fdb2
commit
c3d2bc0751
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class LSldapObject {
|
||||||
function reloadData() {
|
function reloadData() {
|
||||||
$data = LSldap :: getAttrs($this -> dn);
|
$data = LSldap :: getAttrs($this -> dn);
|
||||||
foreach($this -> attrs as $attr_name => $attr) {
|
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;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue