FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-17 22:34:08 +02:00
parent 29f327c7bf
commit 92ba7e3410

View File

@ -85,7 +85,7 @@ if (!$sortorder) {
}
// Security check
if (empty($conf->accounting->enabled)) {
if (!isModEnabled('accounting')) {
accessforbidden();
}
if ($user->socid > 0) {