Fixed checkable bug in FormBuilder

This commit is contained in:
Davide Bellini committed 2013-02-28 10:51:07 +01:00
1 parent 4254f09155
commit 8b2241c0f6
1 file changed
+1 -1
+1 -1
View File
@@ -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);