FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-16 17:17:54 +02:00
parent 46abe5bea0
commit 42459ea7b9

View File

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