LSattr_html_select_list : fix handling OTHER_OBJECT with value_attribute parameters
authorBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Aug 2016 11:57:56 +0000 (13:57 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Tue, 16 Aug 2016 11:57:56 +0000 (13:57 +0200)
public_html/includes/class/class.LSattr_html_select_list.php

index fb2fa32..f27a6ab 100644 (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 -> run();
-    if (isset($val['value_attribute'])) {
+    if (isset($conf['value_attribute'])) {
       if(($conf['value_attribute']=='dn')||($conf['value_attribute']=='%{dn}')) {
         $retInfos = $LSsearch -> listObjectsName();
       }