Fix picto multicompany
This commit is contained in:
parent
4490f0615e
commit
5b2b5e6a58
@ -443,7 +443,7 @@ if ($action == 'create') {
|
|||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
print '<td class="tdoverflowmax150">';
|
print '<td class="tdoverflowmax150">';
|
||||||
print $useringroup->getNomUrl(-1, '', 0, 0, 24, 0, 'login');
|
print $useringroup->getNomUrl(-1, '', 0, 0, 24, 0, 'login');
|
||||||
if ($useringroup->admin && !$useringroup->entity) {
|
if (isModEnabled('multicompany') && $useringroup->admin && empty($useringroup->entity)) {
|
||||||
print img_picto($langs->trans("SuperAdministrator"), 'redstar');
|
print img_picto($langs->trans("SuperAdministrator"), 'redstar');
|
||||||
} elseif ($useringroup->admin) {
|
} elseif ($useringroup->admin) {
|
||||||
print img_picto($langs->trans("Administrator"), 'star');
|
print img_picto($langs->trans("Administrator"), 'star');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user