diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-12-03 22:04:04 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-12-03 22:04:04 -0500 |
commit | a162489563d3db27bfc7597f5204841715d47fcc (patch) | |
tree | 413d22a21893248e3aaa2e4891fb40bae4e3bc79 | |
parent | e0aeb4ca1bbc01a03b11d1a9ef03032abf18eae6 (diff) |
Fix regression in checkbox form helper
-rw-r--r-- | app/Helper/FormHelper.php | 4 |
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( |