FIX php8 compatibility
This commit is contained in:
parent
476b383a07
commit
6cbcbad6ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue