diff options
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Form_validation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index fd0c22ec1..b658011bd 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -319,7 +319,7 @@ class CI_Form_validation { }
else
{
- if (isset($_POST[$field]))
+ if (isset($_POST[$field]) AND $_POST[$field] != "")
{
$this->_field_data[$field]['postdata'] = $_POST[$field];
}
|