summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-09-20 06:21:27 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-09-20 06:21:27 +0200
commit32f84f1a60a8db1d923f28c3a6afc54fa11edb6f (patch)
treebb2cceca2f701e0a8633176c43d7b0b4c507e68f /system/libraries/Form_validation.php
parent277451a42c8fac9c4dfc8f4d4c54e0e7a19e0dc1 (diff)
Removed the strict param from in_array in some of the tests as this was causing problems
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r--system/libraries/Form_validation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 1ba98bef4..fe7502773 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -740,7 +740,7 @@ class CI_Form_validation {
if (is_array($field))
{
- if ( ! in_array($value, $field, TRUE))
+ if ( ! in_array($value, $field))
{
return '';
}
@@ -784,7 +784,7 @@ class CI_Form_validation {
if (is_array($field))
{
- if ( ! in_array($value, $field, TRUE))
+ if ( ! in_array($value, $field))
{
return '';
}
@@ -828,7 +828,7 @@ class CI_Form_validation {
if (is_array($field))
{
- if ( ! in_array($value, $field, TRUE))
+ if ( ! in_array($value, $field))
{
return '';
}