FIX php8 compatibility
This commit is contained in:
parent
709d6732ae
commit
a8a5ed00ec
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ $now = dol_now();
|
|||
$action = GETPOST('action', 'aZ09');
|
||||
|
||||
// Security check
|
||||
if (empty($conf->accounting->enabled)) {
|
||||
if (!isModEnabled('accounting')) {
|
||||
accessforbidden();
|
||||
}
|
||||
if ($user->socid > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue