summaryrefslogtreecommitdiff
path: root/app/Helper
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-12-03 22:04:04 -0500
committerFrederic Guillot <fred@kanboard.net>2016-12-03 22:04:04 -0500
commita162489563d3db27bfc7597f5204841715d47fcc (patch)
tree413d22a21893248e3aaa2e4891fb40bae4e3bc79 /app/Helper
parente0aeb4ca1bbc01a03b11d1a9ef03032abf18eae6 (diff)
Fix regression in checkbox form helper
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/FormHelper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Helper/FormHelper.php b/app/Helper/FormHelper.php
index 57094688..9eabd724 100644
--- a/app/Helper/FormHelper.php
+++ b/app/Helper/FormHelper.php
@@ -147,8 +147,8 @@ class FormHelper extends Base
$attributes['checked'] = 'checked';
}
- foreach ($attributes as $attribute => $value) {
- $htmlAttributes .= sprintf('%s="%s"', $attribute, $this->helper->text->e($value));
+ foreach ($attributes as $attribute => $attributeValue) {
+ $htmlAttributes .= sprintf('%s="%s"', $attribute, $this->helper->text->e($attributeValue));
}
return sprintf(