Fix hook context names
This commit is contained in:
parent
e6c9ae2349
commit
c4d0086b8a
@ -43,7 +43,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('productstatscontract'));
|
||||
$hookmanager->initHooks(array('productstatsbom'));
|
||||
|
||||
$mesg = '';
|
||||
$option = '';
|
||||
|
||||
@ -44,7 +44,7 @@ if (!empty($user->socid)) {
|
||||
}
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('productstatssupplyorder'));
|
||||
$hookmanager->initHooks(array('productstatssupplierorder'));
|
||||
|
||||
$mesg = '';
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ if (!empty($user->socid)) {
|
||||
}
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('productstatssupplyinvoice'));
|
||||
$hookmanager->initHooks(array('productstatssupplierinvoice'));
|
||||
|
||||
// Load variable for pagination
|
||||
$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit;
|
||||
|
||||
@ -42,7 +42,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('productstatscontract'));
|
||||
$hookmanager->initHooks(array('productstatsmo'));
|
||||
|
||||
// Load variable for pagination
|
||||
$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit;
|
||||
|
||||
@ -45,7 +45,7 @@ if (!empty($user->socid)) {
|
||||
}
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('productstatspropal'));
|
||||
$hookmanager->initHooks(array('productstatssupplierpropal'));
|
||||
|
||||
// Load variable for pagination
|
||||
$limit = GETPOST('limit', 'int') ?GETPOST('limit', 'int') : $conf->liste_limit;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user