diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-03 19:26:38 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-03 19:26:38 +0200 |
commit | cec2ba5ca149adab182670fe1a0228c464094b81 (patch) | |
tree | d1cc8e6d5fbe62bc72bbd0ae0faf656b977e9741 | |
parent | 320d37c090cbc1497d3951f64da1c16e86bae609 (diff) |
Fix some stuff broken during repo sync
-rw-r--r-- | system/libraries/Form_validation.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index c2c978a5e..3c9285294 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -641,13 +641,13 @@ class CI_Form_validation { } else { - log_message('debug', 'Unable to find validation rule: '.$rule); - $result = FALSE; + $this->_field_data[$row['field']]['postdata'] = is_bool($result) ? $postdata : $result; } } else { - $result = $this->$rule($postdata, $param); + log_message('debug', 'Unable to find validation rule: '.$rule); + $result = FALSE; } continue; |