FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-16 17:12:27 +02:00
parent f3ee3319dd
commit 7e9547c762

View File

@ -429,7 +429,7 @@ class AccountingJournal extends CommonObject
{ {
global $conf, $langs; global $conf, $langs;
if (empty($conf->asset->enabled)) { if (!isModEnabled('asset')) {
return array(); return array();
} }