Fix some stuff broken during repo sync
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index c2c978a..3c92852 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -641,13 +641,13 @@
}
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;