From d190440569852c48f08771e66290410be6eb0b54 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Thu, 25 May 2006 13:40:25 +0000 Subject: [PATCH] Fix: Pb si le tooltip contient des quots --- htdocs/html.form.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 87dc3d2128c..a621a195580 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -70,6 +70,7 @@ class Form $s =''; if ($conf->use_javascript && $htmltooltip) { + $htmltooltip=ereg_replace("'","\'",$htmltooltip); $s.=' onmouseover="showtip(\''.$htmltooltip.'\')"'; $s.=' onMouseout="hidetip()"'; } -- GitLab