From 90596298469c85ced1b0092fbaa299c0dd31950e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 18 Feb 2020 12:35:02 +0100 Subject: [PATCH] LSattr_html :: select_object : Fix 'Undefined index' PHP notice --- public_html/includes/class/class.LSattr_html_select_object.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSattr_html_select_object.php b/public_html/includes/class/class.LSattr_html_select_object.php index 88ccd346..0faa1766 100644 --- a/public_html/includes/class/class.LSattr_html_select_object.php +++ b/public_html/includes/class/class.LSattr_html_select_object.php @@ -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)); } } }