summaryrefslogtreecommitdiffstats
path: root/system/libraries/Form_validation.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-04-03 19:26:38 +0200
committerAndrey Andreev <narf@bofh.bg>2012-04-03 19:26:38 +0200
commitcec2ba5ca149adab182670fe1a0228c464094b81 (patch)
treed1cc8e6d5fbe62bc72bbd0ae0faf656b977e9741 /system/libraries/Form_validation.php
parent320d37c090cbc1497d3951f64da1c16e86bae609 (diff)
Fix some stuff broken during repo sync
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r--system/libraries/Form_validation.php6
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;