diff --git a/ChangeLog b/ChangeLog index d7ec265d040..1ffddf5a79e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ For users: - Fix: Trigger on create category call failed because user is not passed on card - Fix: list event view lost type event filter - Fix: Save also code event +- 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) {