diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-08-27 23:43:13 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-08-27 23:43:13 +0200 |
commit | a5acb737a35215fca563899a7ba49be210706e30 (patch) | |
tree | 2aac6d1e3ba0ef948bde73a3a50b2bbd8a8aa7fa /system/libraries | |
parent | 0c734b52b648fd1c26546306ad578a90ef6f0f72 (diff) |
Fixed an empty string error
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];
}
|