Fix warning abuot external users shown only if appropriate
This commit is contained in:
parent
931f712c5f
commit
ac55a052b2
@ -258,8 +258,8 @@ print '<div class="underbanner clearboth"></div>';
|
||||
if ($user->admin) {
|
||||
print info_admin($langs->trans("WarningOnlyPermissionOfActivatedModules"));
|
||||
}
|
||||
// Show warning about external users
|
||||
if (empty($user->socid)) {
|
||||
// If edited user is an extern user, we show warning for external users
|
||||
if (! empty($object->socid)) {
|
||||
print info_admin(showModulesExludedForExternal($modules))."\n";
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user