diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-09-20 06:21:27 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-09-20 06:21:27 +0200 |
commit | 32f84f1a60a8db1d923f28c3a6afc54fa11edb6f (patch) | |
tree | bb2cceca2f701e0a8633176c43d7b0b4c507e68f | |
parent | 277451a42c8fac9c4dfc8f4d4c54e0e7a19e0dc1 (diff) |
Removed the strict param from in_array in some of the tests as this was causing problems
-rw-r--r-- | system/libraries/Form_validation.php | 6 |
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 '';
}
|