Merge pull request #20251 from atm-kevin/FIX_ADD_Init_Hooks_On_Project_Tabs
FIX : Add hooks on several project tabs
This commit is contained in:
commit
8eaf7a9d8a
@ -32,6 +32,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
|
|||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('projects', 'other'));
|
$langs->loadLangs(array('projects', 'other'));
|
||||||
|
$hookmanager->initHooks(array('projectcarddocument'));
|
||||||
|
|
||||||
$action = GETPOST('action', 'alpha');
|
$action = GETPOST('action', 'alpha');
|
||||||
$confirm = GETPOST('confirm', 'alpha');
|
$confirm = GETPOST('confirm', 'alpha');
|
||||||
|
|||||||
@ -62,6 +62,8 @@ if (GETPOST('actioncode', 'array')) {
|
|||||||
}
|
}
|
||||||
$search_agenda_label = GETPOST('search_agenda_label');
|
$search_agenda_label = GETPOST('search_agenda_label');
|
||||||
|
|
||||||
|
$hookmanager->initHooks(array('projectcardinfo'));
|
||||||
|
|
||||||
// Security check
|
// Security check
|
||||||
$id = GETPOST("id", 'int');
|
$id = GETPOST("id", 'int');
|
||||||
$socid = 0;
|
$socid = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user