Merge pull request #15895 from OPEN-DSI/fix_show_default_contact_on_contact_card
FIX : Fix the display on the 'contact by default' on the contact card
This commit is contained in:
commit
d31ac0fa22
@ -1382,7 +1382,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action))
|
|||||||
if (!empty($object->socid)) {
|
if (!empty($object->socid)) {
|
||||||
print '<tr><td class="titlefield">'.$langs->trans("ContactByDefaultFor").'</td>';
|
print '<tr><td class="titlefield">'.$langs->trans("ContactByDefaultFor").'</td>';
|
||||||
print '<td colspan="3">';
|
print '<td colspan="3">';
|
||||||
print $formcompany->showRoles("roles", $object, 'view');
|
print $formcompany->showRoles("roles", $object, 'view', $object->roles);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user