change option name
replace MAIN_SUPPORT_CONTACT_TYPE_FOR_THIRDPARTIES by MAIN_SUPPORT_SHARED_CONTACT_BETWEEN_THIRDPARTIES
This commit is contained in:
parent
bc478a75ee
commit
5d81eca1a3
@ -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')
|
||||
|
||||
@ -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");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user