diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-05-06 15:51:02 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-05-06 15:51:02 +0200 |
commit | de7320bb78f02baa3b7cad3983d5b6d3a9c74f34 (patch) | |
tree | 15462460ed4e9adb805308406a9f84e332b8c609 /system/helpers | |
parent | 2f41936b5e565e89286edf734f49ef7d3e72586b (diff) |
Changed the radio() and checkbox() functions to default to not checked by default.
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/form_helper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php index 10858339e..c9a6897ae 100644 --- a/system/helpers/form_helper.php +++ b/system/helpers/form_helper.php @@ -289,7 +289,7 @@ if (! function_exists('form_dropdown')) */
if (! function_exists('form_checkbox'))
{
- function form_checkbox($data = '', $value = '', $checked = TRUE, $extra = '')
+ function form_checkbox($data = '', $value = '', $checked = FALSE, $extra = '')
{
$defaults = array('type' => 'checkbox', 'name' => ((! is_array($data)) ? $data : ''), 'value' => $value);
@@ -330,7 +330,7 @@ if (! function_exists('form_checkbox')) */
if (! function_exists('form_radio'))
{
- function form_radio($data = '', $value = '', $checked = TRUE, $extra = '')
+ function form_radio($data = '', $value = '', $checked = FALSE, $extra = '')
{
if (! is_array($data))
{
|