add hooks init
This commit is contained in:
parent
fc146b2dc6
commit
45b7ddb8a8
@ -40,7 +40,7 @@ $id = GETPOST('account') ?GETPOST('account', 'alpha') : GETPOST('id');
|
||||
$ref = GETPOST('ref');
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('bankstats', 'globalcard'));
|
||||
$hookmanager->initHooks(array('bankannualreport', 'globalcard'));
|
||||
|
||||
// Security check
|
||||
$fieldvalue = (!empty($id) ? $id : (!empty($ref) ? $ref : ''));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user