FIX php8 compatibility
This commit is contained in:
parent
a8a5ed00ec
commit
aea9cc7f93
@ -58,7 +58,7 @@ if ($in_bookkeeping == '') {
|
||||
$now = dol_now();
|
||||
|
||||
// Security check
|
||||
if (empty($conf->accounting->enabled)) {
|
||||
if (!isModEnabled('accounting')) {
|
||||
accessforbidden();
|
||||
}
|
||||
if ($user->socid > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user