FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-17 22:21:42 +02:00
parent 4296f704a5
commit 9089ccc308

View File

@ -142,7 +142,7 @@ if (!empty($search_ledger_code)) {
}
}
if (empty($conf->accounting->enabled)) {
if (!isModEnabled('accounting')) {
accessforbidden();
}
if ($user->socid > 0) {