diff --git a/htdocs/admin/clicktodial.php b/htdocs/admin/clicktodial.php
index 9986780c4a2..a8d33ae5a09 100644
--- a/htdocs/admin/clicktodial.php
+++ b/htdocs/admin/clicktodial.php
@@ -96,7 +96,7 @@ print '';
print '
';
print '| '.$langs->trans("MARGIN_METHODE_FOR_DISCOUNT").' | ';
print '';
-print Form::selectarray('MARGIN_METHODE_FOR_DISCOUNT', $methods, $conf->global->MARGIN_METHODE_FOR_DISCOUNT);
+print Form::selectarray('MARGIN_METHODE_FOR_DISCOUNT', $methods, getDolGlobalString('MARGIN_METHODE_FOR_DISCOUNT'));
print ' | ';
print '';
print '';
@@ -230,7 +230,7 @@ print ' | '.$langs->trans("AgentContactType").' | ';
print '';
$formcompany = new FormCompany($db);
$facture = new Facture($db);
-print $formcompany->selectTypeContact($facture, $conf->global->AGENT_CONTACT_TYPE, "AGENT_CONTACT_TYPE", "internal", "code", 1, "maxwidth250");
+print $formcompany->selectTypeContact($facture, getDolGlobalString('AGENT_CONTACT_TYPE'), "AGENT_CONTACT_TYPE", "internal", "code", 1, "maxwidth250");
print ' | ';
print '';
print '';
|