FIX php8 compatibility
This commit is contained in:
parent
bab68b179b
commit
46abe5bea0
@ -58,7 +58,7 @@ $year_current = $year_start;
|
||||
$action = GETPOST('action', 'aZ09');
|
||||
|
||||
// Security check
|
||||
if (empty($conf->accounting->enabled)) {
|
||||
if (!isModEnabled('accounting')) {
|
||||
accessforbidden();
|
||||
}
|
||||
if ($user->socid > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user