FIX php8 compatibility
This commit is contained in:
parent
9089ccc308
commit
c35bcaffb8
@ -79,7 +79,7 @@ if (!empty($update)) {
|
||||
$object = new BookKeeping($db);
|
||||
|
||||
// Security check
|
||||
if (empty($conf->accounting->enabled)) {
|
||||
if (!isModEnabled('accounting')) {
|
||||
accessforbidden();
|
||||
}
|
||||
if ($user->socid > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user