FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-16 17:16:02 +02:00
parent debeb04f28
commit 1742a8bebd

View File

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