LSattr_html_select_list : fixed bug with number key value
authorBenjamin Renard <bn8@zionetrix.net>
Tue, 9 Jul 2013 16:50:31 +0000 (18:50 +0200)
committerBenjamin Renard <bn8@zionetrix.net>
Tue, 9 Jul 2013 16:50:31 +0000 (18:50 +0200)
public_html/includes/class/class.LSattr_html_select_list.php

index 5aacc83..9bebb1f 100644 (file)
@@ -89,7 +89,7 @@ class LSattr_html_select_list extends LSattr_html{
     $retInfos = array();
     if (is_array($this -> config['html_options']['possible_values'])) {
       foreach($this -> config['html_options']['possible_values'] as $val_name => $val) {
-        if($val_name=='OTHER_OBJECT') {
+        if($val_name==='OTHER_OBJECT') {
           if ((!isset($val['object_type'])) || (!isset($val['value_attribute']))) {
             LSerror :: addErrorCode('LSattr_html_select_list_01',$this -> name);
             break;