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