FIX php8 compatibility
This commit is contained in:
parent
4296f704a5
commit
9089ccc308
@ -142,7 +142,7 @@ if (!empty($search_ledger_code)) {
|
||||
}
|
||||
}
|
||||
|
||||
if (empty($conf->accounting->enabled)) {
|
||||
if (!isModEnabled('accounting')) {
|
||||
accessforbidden();
|
||||
}
|
||||
if ($user->socid > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user