mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX : Retours PR
This commit is contained in:
parent
dedd0ef20d
commit
570fcd9174
|
|
@ -46,7 +46,7 @@ if ($user->socid) {
|
|||
$socid = $user->socid;
|
||||
}
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('ordercontact'));
|
||||
$hookmanager->initHooks(array('ordercontact', 'globalcard'));
|
||||
|
||||
$result = restrictedArea($user, 'commande', $id, '');
|
||||
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ if ($user->socid) {
|
|||
}
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('ordercarddocument'));
|
||||
$hookmanager->initHooks(array('orderdocument', 'globalcard'));
|
||||
|
||||
$result = restrictedArea($user, 'commande', $id, '');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user