forked from extern/egroupware
fixed escaping of parameters for the wz_tooltips: single quotes in calendar titles caused all tooltips on that page not to appear
This commit is contained in:
parent
be74b456aa
commit
b7a8cf9b48
@ -89,7 +89,7 @@ class html
|
||||
{
|
||||
foreach($options as $option => $value)
|
||||
{
|
||||
$opt_out .= 'this.T_'.strtoupper($option).'='.(is_numeric($value)?$value:"'$value'").'; ';
|
||||
$opt_out .= 'this.T_'.strtoupper($option).'='.(is_numeric($value)?$value:"'".str_replace("'","\\'",$value)."'").'; ';
|
||||
}
|
||||
}
|
||||
if ($text === False) return ' onmouseover="'.$opt_out.'return escape(this.innerHTML);"';
|
||||
|
Loading…
Reference in New Issue
Block a user