FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-16 17:19:01 +02:00
parent 709d6732ae
commit a8a5ed00ec

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