FIX avoid php warning
This commit is contained in:
parent
710f45bf16
commit
de00de16de
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ $hookmanager->initHooks(array('groupcard', 'globalcard'));
|
|||
$result = restrictedArea($user, 'user', $id, 'usergroup&usergroup', $feature2);
|
||||
|
||||
// Users/Groups management only in master entity if transverse mode
|
||||
if (isModEnabled('multicompany') && $conf->entity > 1 && $conf->global->MULTICOMPANY_TRANSVERSE_MODE) {
|
||||
if (isModEnabled('multicompany') && $conf->entity > 1 && getDolGlobalString('MULTICOMPANY_TRANSVERSE_MODE')) {
|
||||
accessforbidden();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue