LSattr_html_select_list : fix handling OTHER_OBJECT with value_attribute parameters

This commit is contained in:
Benjamin Renard 2016-08-16 13:57:56 +02:00
parent e294fb123b
commit 001fe43376

View file

@ -181,7 +181,7 @@ class LSattr_html_select_list extends LSattr_html{
$LSsearch = new LSsearch($conf['object_type'],'LSattr_html_select_list',$param,true); $LSsearch = new LSsearch($conf['object_type'],'LSattr_html_select_list',$param,true);
$LSsearch -> run(); $LSsearch -> run();
if (isset($val['value_attribute'])) { if (isset($conf['value_attribute'])) {
if(($conf['value_attribute']=='dn')||($conf['value_attribute']=='%{dn}')) { if(($conf['value_attribute']=='dn')||($conf['value_attribute']=='%{dn}')) {
$retInfos = $LSsearch -> listObjectsName(); $retInfos = $LSsearch -> listObjectsName();
} }