FIX php8 compatibility
This commit is contained in:
parent
9d7e025d45
commit
76dd110bc3
@ -236,7 +236,7 @@ class Inventory extends CommonObject
|
|||||||
if (empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) {
|
if (empty($conf->global->MAIN_SHOW_TECHNICAL_ID)) {
|
||||||
$this->fields['rowid']['visible'] = 0;
|
$this->fields['rowid']['visible'] = 0;
|
||||||
}
|
}
|
||||||
if (empty($conf->multicompany->enabled)) {
|
if (!isModEnabled('multicompany')) {
|
||||||
$this->fields['entity']['enabled'] = 0;
|
$this->fields['entity']['enabled'] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user