FIX php8 compatibility
This commit is contained in:
parent
679c258b3d
commit
b0c3784620
@ -46,7 +46,7 @@ $object->fetch($id);
|
||||
$object->getrights();
|
||||
|
||||
// Users/Groups management only in master entity if transverse mode
|
||||
if (!empty($conf->multicompany->enabled) && $conf->entity > 1 && !empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) {
|
||||
if (isModEnabled('multicompany') && $conf->entity > 1 && !empty($conf->global->MULTICOMPANY_TRANSVERSE_MODE)) {
|
||||
accessforbidden();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user