FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-28 13:43:50 +02:00
parent 5c6f9281c9
commit 3d64296992

View File

@ -149,7 +149,7 @@ class ActionCommReminder extends CommonObject
if (empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) {
$this->fields['rowid']['visible'] = 0;
}
if (empty($conf->multicompany->enabled)) {
if (!isModEnabled('multicompany')) {
$this->fields['entity']['enabled'] = 0;
}
}