FIX php8 compatibility
This commit is contained in:
parent
f3ee3319dd
commit
7e9547c762
@ -429,7 +429,7 @@ class AccountingJournal extends CommonObject
|
||||
{
|
||||
global $conf, $langs;
|
||||
|
||||
if (empty($conf->asset->enabled)) {
|
||||
if (!isModEnabled('asset')) {
|
||||
return array();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user