mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
add inithook
This commit is contained in:
parent
7997db3eb9
commit
3257f8405c
|
|
@ -64,6 +64,8 @@ $enddate = dol_mktime(23, 59, 59, GETPOSTINT('enddatemonth'), GETPOSTINT('enddat
|
|||
|
||||
$search_ref = GETPOST('search_ref', 'alpha');
|
||||
|
||||
$hookmanager->initHooks(array('checkmarginlist'));
|
||||
|
||||
// Security check
|
||||
$result = restrictedArea($user, 'margins');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user