Merge pull request #23935 from jyhere/jyhere-patch-3
[FIX]: missing initHooks in adherents/agenda.php
This commit is contained in:
commit
9cb2c880b4
@ -71,6 +71,9 @@ $search_agenda_label = GETPOST('search_agenda_label');
|
||||
// Get object canvas (By default, this is not defined, so standard usage of dolibarr)
|
||||
$objcanvas = null;
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('memberagenda'));
|
||||
|
||||
// Security check
|
||||
$result = restrictedArea($user, 'adherent', $id);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user