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