Skip to content
Snippets Groups Projects
Commit d1904405 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Pb si le tooltip contient des quots

parent aec7c95e
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ class Form
$s ='';
if ($conf->use_javascript && $htmltooltip)
{
$htmltooltip=ereg_replace("'","\'",$htmltooltip);
$s.=' onmouseover="showtip(\''.$htmltooltip.'\')"';
$s.=' onMouseout="hidetip()"';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment