Fixed checkable bug in FormBuilder
This commit is contained in:
1 parent
4254f09155
commit
8b2241c0f6
1 file changed
+1
-1
+1
-1
@@ -463,7 +463,7 @@ class FormBuilder {
|
|||||||
* @param array $options
|
* @param array $options
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function checkable($type, $name, $value, $checked, $attributs)
|
protected function checkable($type, $name, $value, $checked, $options)
|
||||||
{
|
{
|
||||||
if (is_null($checked)) $checked = (bool) $this->getValueAttribute($name, null);
|
if (is_null($checked)) $checked = (bool) $this->getValueAttribute($name, null);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user