diff --git a/ChangeLog b/ChangeLog index 1670165d40c..0f7bee20186 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,7 @@ For users: - Fix: Salaries payment - Field date value is now required and add control on it. - Fix: Iban was used instead of Bic into SEPA file. - Fix: Must unaccent strings into SEPA file. +- Fix: Extrafield feature select from table should try to translate multiple column when not needed ***** ChangeLog for 3.6 compared to 3.5.* ***** For users: diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index 2f6a63b6d8c..13757ef947a 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -976,7 +976,7 @@ class ExtraFields // Several field into label (eq table:code|libelle:rowid) $fields_label = explode('|',$InfoFieldList[1]); - if(is_array($fields_label)) + if(is_array($fields_label) && count($fields_label)>1) { foreach ($fields_label as $field_toshow) {