summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorMichiel Vugteveen <michiel@it-can.nl>2012-06-06 20:03:14 +0200
committerMichiel Vugteveen <michiel@it-can.nl>2012-06-06 20:03:14 +0200
commit910ff7ad430f47ebcf3d801314fcee9a3c10f011 (patch)
treed63e23889f1f800932fccba6557d56890d564425 /system/helpers
parent47b673324f06236264ca64f8c3155aab51762609 (diff)
form_checkbox set_value fix
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/form_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 410972187..04d11837e 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -378,7 +378,7 @@ if ( ! function_exists('form_checkbox'))
{
$checked = $data['checked'];
- if ($checked === FALSE)
+ if ($checked == FALSE)
{
unset($data['checked']);
}
@@ -388,7 +388,7 @@ if ( ! function_exists('form_checkbox'))
}
}
- if ($checked === TRUE)
+ if ($checked == TRUE)
{
$defaults['checked'] = 'checked';
}