FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-28 14:22:17 +02:00
parent 84ff7e3648
commit c0239b95ea

View File

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