diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 2d2b88d38dd..41924a7d1e5 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -680,7 +680,7 @@ class Form
*/
function select_contacts($socid,$selected='',$htmlname='contactid',$showempty=0,$exclude='',$limitto='')
{
- global $conf;
+ global $conf,$langs;
// Permettre l'exclusion de contacts
if (is_array($exclude))
@@ -704,7 +704,7 @@ class Form
if ($num == 0) return 0;
if ($htmlname != 'none') print '