FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-17 22:37:04 +02:00
parent e89d66e3f2
commit 5a85a70139

View File

@ -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) {