Update cticketcategory.class.php

This commit is contained in:
Laurent Destailleur 2024-03-16 17:16:46 +01:00 committed by GitHub
parent 0fdca9b183
commit 97e11f7f5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,7 +186,7 @@ class CTicketCategory extends CommonObject
$this->db = $db;
if (!getDolGlobalString('MAIN_SHOW_TECHNICAL_ID') && isset($this->fields['rowid']) {
if (!getDolGlobalString('MAIN_SHOW_TECHNICAL_ID') && isset($this->fields['rowid'])) {
$this->fields['rowid']['visible'] = 0;
}
if (!isModEnabled('multicompany') && isset($this->fields['entity'])) {