FIX php8 compatibility

This commit is contained in:
Philippe GRAND 2022-08-16 17:10:41 +02:00
parent 919408f9d1
commit fc440f90a0

View File

@ -214,7 +214,7 @@ if (empty($listofformat[$formatexportset])) {
$error = 0;
if (empty($conf->accounting->enabled)) {
if (!isModEnabled('accounting')) {
accessforbidden();
}
if ($user->socid > 0) {