Merge pull request #24600 from frederic34/patch-8
add hook init context
This commit is contained in:
commit
aa3fa86c4f
@ -73,7 +73,7 @@ $search_agenda_label = GETPOST('search_agenda_label');
|
|||||||
$objcanvas = null;
|
$objcanvas = null;
|
||||||
|
|
||||||
// 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('memberagenda'));
|
$hookmanager->initHooks(array('memberagenda', 'globalcard'));
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
$result = restrictedArea($user, 'adherent', $id);
|
$result = restrictedArea($user, 'adherent', $id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user