This commit is contained in:
Laurent Destailleur 2020-08-07 12:49:21 +02:00
parent 7a03521664
commit 940b4e7bea

View File

@ -307,8 +307,10 @@ $form = new Form($db);
$formother = new FormOther($db);
$formcompany = new FormCompany($db);
$contactstatic = new Contact($db);
$contactstatic->thirdparty->client=2;
$contactstatic->loadCacheOfProspStatus();
if (! empty($conf->global->THIRDPARTY_ENABLE_PROSPECTION_ON_ALTERNATIVE_ADRESSES)) {
$contactstatic->loadCacheOfProspStatus();
}
$title = (!empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT) ? $langs->trans("Contacts") : $langs->trans("ContactsAddresses"));