FIX php8 compatibility
This commit is contained in:
parent
4645b19084
commit
805d91314c
@ -88,7 +88,7 @@ $upload_dir = $conf->partnership->multidir_output[isset($object->entity) ? $o
|
|||||||
if (getDolGlobalString('PARTNERSHIP_IS_MANAGED_FOR') != 'member') {
|
if (getDolGlobalString('PARTNERSHIP_IS_MANAGED_FOR') != 'member') {
|
||||||
accessforbidden('Partnership module is not activated for members');
|
accessforbidden('Partnership module is not activated for members');
|
||||||
}
|
}
|
||||||
if (empty($conf->partnership->enabled)) {
|
if (!isModEnabled('partnership')) {
|
||||||
accessforbidden();
|
accessforbidden();
|
||||||
}
|
}
|
||||||
if (empty($permissiontoread)) {
|
if (empty($permissiontoread)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user