diff --git a/public_html/includes/class/class.LSattribute.php b/public_html/includes/class/class.LSattribute.php index 7eb7b931..3fd10983 100644 --- a/public_html/includes/class/class.LSattribute.php +++ b/public_html/includes/class/class.LSattribute.php @@ -482,8 +482,10 @@ class LSattribute { $value = $this -> config['default_value']; } if (!empty($value)) { - //$this -> setValue($value); // pas nécéssaire ?? - $this -> updateData=array($value); + if (!is_array($value)) { + $value=array($value); + } + $this -> updateData=$value; return true; } return;