summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorMichiel Vugteveen <michiel@it-can.nl>2012-06-07 10:14:29 +0200
committerMichiel Vugteveen <michiel@it-can.nl>2012-06-07 10:14:29 +0200
commita6f3423388c2c51119e71d7aac2917b34911bf5c (patch)
tree6e31d7b95df34159396b8c8952e0bcbd80a1953b /system/helpers
parent9640a037c51c1efea2e64caa974c577dc1594f5d (diff)
fixes
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/form_helper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/helpers/form_helper.php b/system/helpers/form_helper.php
index 40c7d8823..984634315 100644
--- a/system/helpers/form_helper.php
+++ b/system/helpers/form_helper.php
@@ -705,7 +705,7 @@ if ( ! function_exists('set_select'))
return '';
}
}
- elseif (($field == '' OR $value == '') OR ($field != $value))
+ elseif (($field == '' OR $value == '') OR $field !== $value)
{
return '';
}
@@ -756,7 +756,7 @@ if ( ! function_exists('set_checkbox'))
return '';
}
}
- elseif (($field == '' OR $value == '') OR ($field != $value))
+ elseif (($field == '' OR $value == '') OR $field !== $value)
{
return '';
}
@@ -809,7 +809,7 @@ if ( ! function_exists('set_radio'))
}
else
{
- if (($field == '' OR $value == '') OR ($field != $value))
+ if (($field == '' OR $value == '') OR $field !== $value)
{
return '';
}