mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fixed missing escaping of double quotes in the title of wz_tooltips
This commit is contained in:
parent
b8bf4655fb
commit
8d4c01bf4b
@ -128,7 +128,8 @@ class html
|
||||
{
|
||||
foreach($options as $option => $value)
|
||||
{
|
||||
$opt_out .= 'this.T_'.strtoupper($option).'='.(is_numeric($value)?$value:"'".str_replace("'","\\'",$value)."'").'; ';
|
||||
$opt_out .= 'this.T_'.strtoupper($option).'='.(is_numeric($value)?$value:"'".str_replace(array("'",'"'),array("\\'",'"'),$value)."'").'; ';
|
||||
|
||||
}
|
||||
}
|
||||
if ($text === False) return ' onmouseover="'.$opt_out.'return escape(this.innerHTML);"';
|
||||
|
Loading…
Reference in New Issue
Block a user