LSattr_html :: select_object : Fix 'Undefined index' PHP notice

This commit is contained in:
Benjamin Renard 2020-02-18 12:35:02 +01:00
parent 69b7ce3f4f
commit 9059629846

View file

@ -161,7 +161,7 @@ class LSattr_html_select_object extends LSattr_html{
$DNs=$values;
foreach($DNs as $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));
}
}
}