- also decode ticket-subject in ticket-class, thx to Michał Goździk for the hint, fixes #67
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user