mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-16 15:33:02 +01:00
LSattr_html :: select_object : Fix 'Undefined index' PHP notice
This commit is contained in:
parent
69b7ce3f4f
commit
9059629846
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class LSattr_html_select_object extends LSattr_html{
|
||||||
$DNs=$values;
|
$DNs=$values;
|
||||||
foreach($DNs as $dn) {
|
foreach($DNs as $dn) {
|
||||||
if($obj -> loadData($dn)) {
|
if($obj -> loadData($dn)) {
|
||||||
$retInfos[$dn] = $obj -> getDisplayName($conf['display_name_format']);
|
$retInfos[$dn] = $obj -> getDisplayName((isset($conf['display_name_format'])?$conf['display_name_format']:null));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue