Add missing HTML escaping for textarea
This commit is contained in:
parent
08bdb708e7
commit
a3819c33d2
|
|
@ -174,7 +174,7 @@ class FormHelper extends Base
|
|||
|
||||
$html = '<textarea name="'.$name.'" id="form-'.$name.'" class="'.$class.'" ';
|
||||
$html .= implode(' ', $attributes).'>';
|
||||
$html .= isset($values->$name) ? $this->helper->text->e($values->$name) : isset($values[$name]) ? $values[$name] : '';
|
||||
$html .= isset($values[$name]) ? $this->helper->text->e($values[$name]) : '';
|
||||
$html .= '</textarea>';
|
||||
$html .= $this->errorList($errors, $name);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue