Allow contact definition on additionnal modules

If additionnal module use contactelement feature, the module is referenced on element list on contact type
This commit is contained in:
BENKE Charlie 2015-09-08 13:07:13 +02:00
parent 24f7100562
commit b4a9a0cafb

View File

@ -464,6 +464,9 @@ if ($id == 11)
'fichinter' => $langs->trans('InterventionCard')
);
if (! empty($conf->global->MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES)) $elementList["societe"] = $langs->trans('ThirdParty');
complete_elementList_with_modules($elementList);
asort($elementList);
$sourceList = array(
'internal' => $langs->trans('Internal'),