From 8722098db3529bba56ae062e655ec7c9bc2c65c7 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 9 Jul 2013 18:50:31 +0200 Subject: [PATCH] LSattr_html_select_list : fixed bug with number key value --- public_html/includes/class/class.LSattr_html_select_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSattr_html_select_list.php b/public_html/includes/class/class.LSattr_html_select_list.php index 5aacc830..9bebb1fc 100644 --- a/public_html/includes/class/class.LSattr_html_select_list.php +++ b/public_html/includes/class/class.LSattr_html_select_list.php @@ -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;