summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-09 10:23:30 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-09 10:23:30 +0200
commitcdcceecba73dd9f54665f531d15c12f5c9679738 (patch)
tree956b6ec0b3ef53d8c3a65c63095a908191fa7939 /system/libraries
parentd348135ed2131e5fa41dfa0ea7254d2f6759f3e0 (diff)
Fix issue #1342
Diffstat (limited to 'system/libraries')
-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 5547c6a69..73f607be8 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -448,7 +448,7 @@ class CI_Form_validation {
{
$this->_field_data[$field]['postdata'] = $this->_reduce_array($validation_array, $row['keys']);
}
- elseif ( ! empty($validation_array[$field]))
+ elseif (isset($validation_array[$field]))
{
$this->_field_data[$field]['postdata'] = $validation_array[$field];
}