diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php
index f5070c1d7d5..748192aa4d6 100644
--- a/htdocs/html.form.class.php
+++ b/htdocs/html.form.class.php
@@ -75,7 +75,7 @@ class Form
*/
function textwithtooltip($text,$htmltext,$tooltipon=1,$direction=0,$img='',$i=1,$option='')
{
- global $conf,$langs;
+ global $conf;
if (! $htmltext) return $text;