diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 8dc22eea072..a512b5ab2f1 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -8162,7 +8162,8 @@ abstract class CommonObject // Output value of the current field if ($extrafields->attributes[$this->table_element]['type'][$key] == 'separate') { - $extrafields_collapse_num = ''; + $extrafields_collapse_num = $key; + /* $extrafield_param = $extrafields->attributes[$this->table_element]['param'][$key]; if (!empty($extrafield_param) && is_array($extrafield_param)) { $extrafield_param_list = array_keys($extrafield_param['options']); @@ -8176,6 +8177,7 @@ abstract class CommonObject } } } + */ // if colspan=0 or 1, the second column is not extended, so the separator must be on 2 columns $out .= $extrafields->showSeparator($key, $this, ($colspan ? $colspan + 1 : 2), $display_type, $mode); diff --git a/htdocs/core/class/commonsocialnetworks.class.php b/htdocs/core/class/commonsocialnetworks.class.php index 4ec32194f3d..aa4527b329e 100644 --- a/htdocs/core/class/commonsocialnetworks.class.php +++ b/htdocs/core/class/commonsocialnetworks.class.php @@ -53,9 +53,11 @@ trait CommonSocialNetworks } if ($nbofnetworks > 1) { - print '