diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index 7075b601877..4efd1d31ae1 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -421,7 +421,7 @@ if ($id == 11) 'fichinter' => $langs->trans('InterventionCard'), 'agenda' => $langs->trans('Agenda') ); - if (! empty($conf->global->MAIN_SUPPORT_CONTACT_TYPE_FOR_THIRDPARTIES)) $elementList["societe"] = $langs->trans('ThirdParty'); + if (! empty($conf->global->MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES)) $elementList["societe"] = $langs->trans('ThirdParty'); $sourceList = array( 'internal' => $langs->trans('Internal'), 'external' => $langs->trans('External') diff --git a/htdocs/core/lib/company.lib.php b/htdocs/core/lib/company.lib.php index 88443ba2ad5..176df3a7e37 100644 --- a/htdocs/core/lib/company.lib.php +++ b/htdocs/core/lib/company.lib.php @@ -64,7 +64,7 @@ function societe_prepare_head($object) $h++; } - if (! empty($conf->global->MAIN_SUPPORT_CONTACT_TYPE_FOR_THIRDPARTIES)) + if (! empty($conf->global->MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES)) { $head[$h][0] = DOL_URL_ROOT.'/societe/societecontact.php?socid='.$object->id; $head[$h][1] = $langs->trans("Contact");