Fix: differentiate "card", "contact" and "agenda
This commit is contained in:
parent
e28307ede4
commit
dec0164ff9
@ -101,7 +101,7 @@ if (! $sortfield) $sortfield='a.datep, a.id';
|
||||
if (! $sortorder) $sortorder='DESC';
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('contactcard','globalcard'));
|
||||
$hookmanager->initHooks(array('contactagenda','globalcard'));
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@ -66,7 +66,7 @@ $extrafields = new ExtraFields($db);
|
||||
$extralabels=$extrafields->fetch_name_optionals_label($object->table_element);
|
||||
|
||||
// Initialize technical object to manage hooks of page. Note that conf->hooks_modules contains array of hook context
|
||||
$hookmanager->initHooks(array('thirdpartycard','globalcard'));
|
||||
$hookmanager->initHooks(array('thirdpartycontact','globalcard'));
|
||||
|
||||
if ($action == 'view' && $object->fetch($socid)<=0)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user