summaryrefslogtreecommitdiff
path: root/app/Helper
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-08-29 21:16:08 -0400
committerFrederic Guillot <fred@kanboard.net>2016-08-29 21:16:08 -0400
commita3819c33d222b61f2a008f23ff67c7a14797c946 (patch)
tree22834344844e9c3ee6fa81d7d51af45bd9c792b7 /app/Helper
parent08bdb708e7698c21b0e6fc9f21d19996fc3d593d (diff)
Add missing HTML escaping for textarea
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/FormHelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/FormHelper.php b/app/Helper/FormHelper.php
index 0bb94d39..eca1f317 100644
--- a/app/Helper/FormHelper.php
+++ b/app/Helper/FormHelper.php
@@ -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);