mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-01 00:03:18 +01:00
LSldapObject -> loadData() : Fixed Notice PHP
This commit is contained in:
parent
62696c9f16
commit
fd566cd588
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class LSldapObject {
|
|||
$data = LSldap :: getAttrs($dn);
|
||||
if(!empty($data)) {
|
||||
foreach($this -> attrs as $attr_name => $attr) {
|
||||
if(!$this -> attrs[$attr_name] -> loadData($data[$attr_name]))
|
||||
if( !$this -> attrs[$attr_name] -> loadData( (isset($data[$attr_name])?$data[$attr_name]:NULL) ) )
|
||||
return;
|
||||
}
|
||||
$this->cache=array();
|
||||
|
|
Loading…
Reference in a new issue