add missing hook
This commit is contained in:
parent
202243d8a3
commit
cf1c4ce11f
@ -44,6 +44,8 @@ $nosearch = GETPOST('nosearch', 'int');
|
||||
$categstatic = new Categorie($db);
|
||||
if (is_numeric($type)) $type = Categorie::$MAP_ID_TO_CODE[$type]; // For backward compatibility
|
||||
|
||||
// Initialize technical object to manage hooks. Note that conf->hooks_modules contains array array
|
||||
$hookmanager->initHooks(array('categoryindex'));
|
||||
|
||||
/*
|
||||
* View
|
||||
|
||||
@ -75,6 +75,8 @@ if ($id > 0) $object->fetch($id);
|
||||
$upload_dir = $conf->societe->multidir_output[$object->entity].'/contact/'.dol_sanitizeFileName($object->ref);
|
||||
$modulepart = 'contact';
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('contactdocument'));
|
||||
|
||||
/*
|
||||
* Actions
|
||||
|
||||
@ -44,6 +44,8 @@ if ($id > 0) $object->fetch($id);
|
||||
|
||||
$permissionnote = $user->rights->societe->creer; // Used by the include of actions_setnotes.inc.php
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('contactcard'));
|
||||
|
||||
/*
|
||||
* Actions
|
||||
|
||||
Loading…
Reference in New Issue
Block a user