diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index ef740c74491..bc183b93db9 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -246,6 +246,11 @@ if ($socid > 0) * Liste des contacts * */ + if (defined("MAIN_MODULE_CLICKTODIAL") && MAIN_MODULE_CLICKTODIAL==1) + { + $user->fetch_clicktodial(); // lecture des infos de clicktodial + } + print ''; print ''; @@ -279,7 +284,7 @@ if ($socid > 0) * Lien click to dial */ - if (strlen($obj->phone)) + if (strlen($obj->phone) && $user->clicktodial_enabled == 1) { print ''; print img_phone_out("Appel émis") ;
'.$langs->trans("Firstname").' '.$langs->trans("Name").'