Fix: for avoid problem with currentcontext
This commit is contained in:
parent
f9d9642340
commit
4ea3d27ced
@ -46,7 +46,8 @@ if (! $user->admin) accessforbidden();
|
|||||||
$error=0;
|
$error=0;
|
||||||
|
|
||||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||||
$hookmanager->initHooks(array('admincompany','globaladmin'));
|
$contextpage=array('admincompany','globaladmin');
|
||||||
|
$hookmanager->initHooks($contextpage);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Actions
|
* Actions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user