summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-04-29 10:44:38 +0200
committerAndrey Andreev <narf@devilix.net>2015-04-29 10:44:38 +0200
commitb137d232ef895cc47da4e39dfcb7c9078ba6be2b (patch)
tree11fb2d644c5bf0dd3694262c1264d23be65210b3 /system/libraries/Form_validation.php
parentb938f94d96a1a3cce225e63c9aafc639523dd29f (diff)
Fix #3816
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r--system/libraries/Form_validation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index bb872c7cc..7599602c0 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -461,7 +461,7 @@ class CI_Form_validation {
{
$this->_field_data[$field]['postdata'] = $this->_reduce_array($validation_array, $row['keys']);
}
- elseif (isset($validation_array[$field]) && $validation_array[$field] !== '')
+ elseif (isset($validation_array[$field]))
{
$this->_field_data[$field]['postdata'] = $validation_array[$field];
}