forked from Wavyzz/dolibarr
FIX : Retours PR
This commit is contained in:
@@ -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, '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user