Removed the strict param from in_array in some of the tests as this was causing problems
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 1ba98be..fe75027 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -740,7 +740,7 @@
if (is_array($field))
{
- if ( ! in_array($value, $field, TRUE))
+ if ( ! in_array($value, $field))
{
return '';
}
@@ -784,7 +784,7 @@
if (is_array($field))
{
- if ( ! in_array($value, $field, TRUE))
+ if ( ! in_array($value, $field))
{
return '';
}
@@ -828,7 +828,7 @@
if (is_array($field))
{
- if ( ! in_array($value, $field, TRUE))
+ if ( ! in_array($value, $field))
{
return '';
}