FIX change selected fields on company card

This commit is contained in:
lvessiller 2020-06-30 16:33:18 +02:00
parent 1194c61857
commit 918e669c98

View File

@ -846,6 +846,11 @@ if (empty($reshook))
$id=$socid;
$object->fetch($socid);
// Selection of new fields
if (!empty($conf->global->MAIN_DUPLICATE_CONTACTS_TAB_ON_MAIN_CARD) && (empty($conf->global->SOCIETE_DISABLE_CONTACTS) || !empty($conf->global->SOCIETE_ADDRESSES_MANAGEMENT))) {
include DOL_DOCUMENT_ROOT . '/core/actions_changeselectedfields.inc.php';
}
// Actions to send emails
$trigger_name='COMPANY_SENTBYMAIL';
$paramname='socid';