- also decode ticket-subject in ticket-class, thx to Michał Goździk for the hint, fixes #67

This commit is contained in:
Michael Kaufmann (d00p)
2010-03-17 06:23:10 +00:00
parent e79fe3e510
commit f9d84a09f1

View File

@@ -693,6 +693,10 @@ class ticket
{
return str_replace('script>', 'pre>', htmlspecialchars_decode(nl2br($this->t_data[$_var])));
}
elseif(strtolower($_var) == 'subject')
{
return str_replace('script>', 'pre>', htmlspecialchars_decode(nl2br($this->t_data[$_var])));
}
else
{
return $this->t_data[$_var];