FIX php8 compatibility
This commit is contained in:
parent
aea9cc7f93
commit
b6170450d0
@ -61,7 +61,7 @@ $hookmanager->initHooks(array('purchasesjournal'));
|
||||
$parameters = array();
|
||||
|
||||
// Security check
|
||||
if (empty($conf->accounting->enabled)) {
|
||||
if (!isModEnabled('accounting')) {
|
||||
accessforbidden();
|
||||
}
|
||||
if ($user->socid > 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user