From cec2ba5ca149adab182670fe1a0228c464094b81 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Tue, 3 Apr 2012 20:26:38 +0300 Subject: Fix some stuff broken during repo sync --- system/libraries/Form_validation.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/libraries/Form_validation.php') 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; -- cgit v1.2.3-24-g4f1b