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