add hook init context
This commit is contained in:
parent
789336ab34
commit
6e5abdc462
@ -73,7 +73,7 @@ $search_agenda_label = GETPOST('search_agenda_label');
|
||||
$objcanvas = null;
|
||||
|
||||
// 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
|
||||
$result = restrictedArea($user, 'adherent', $id);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user