commit | 910ff7ad430f47ebcf3d801314fcee9a3c10f011 | [log] [tgz] |
---|---|---|
author | Michiel Vugteveen <michiel@it-can.nl> | Wed Jun 06 20:03:14 2012 +0200 |
committer | Michiel Vugteveen <michiel@it-can.nl> | Wed Jun 06 20:03:14 2012 +0200 |
tree | d63e23889f1f800932fccba6557d56890d564425 | |
parent | 47b673324f06236264ca64f8c3155aab51762609 [diff] [blame] |
form_checkbox set_value fix
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 4109721..04d1183 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php
@@ -378,7 +378,7 @@ { $checked = $data['checked']; - if ($checked === FALSE) + if ($checked == FALSE) { unset($data['checked']); } @@ -388,7 +388,7 @@ } } - if ($checked === TRUE) + if ($checked == TRUE) { $defaults['checked'] = 'checked'; }