Fix regression in checkbox form helper
This commit is contained in:
@@ -147,8 +147,8 @@ class FormHelper extends Base
|
|||||||
$attributes['checked'] = 'checked';
|
$attributes['checked'] = 'checked';
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($attributes as $attribute => $value) {
|
foreach ($attributes as $attribute => $attributeValue) {
|
||||||
$htmlAttributes .= sprintf('%s="%s"', $attribute, $this->helper->text->e($value));
|
$htmlAttributes .= sprintf('%s="%s"', $attribute, $this->helper->text->e($attributeValue));
|
||||||
}
|
}
|
||||||
|
|
||||||
return sprintf(
|
return sprintf(
|
||||||
|
|||||||
Reference in New Issue
Block a user