diff options
author | patwork <patwork@gmail.com> | 2011-04-08 15:45:46 +0200 |
---|---|---|
committer | patwork <patwork@gmail.com> | 2011-04-08 15:45:46 +0200 |
commit | 02404a1f59e4f3ae8231d87d8be5b23488ea86d2 (patch) | |
tree | f232b43ea5097b4e2054b04ce3cc2291cdcc61e4 /system/libraries | |
parent | 64e35cdcb9fd24787798c0f6ca3c0af45b0b904d (diff) |
Fix: codeigniter-reactor/127 Form_validation rule error logging
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Form_validation.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index cfc02eda9..6f79a554a 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -628,6 +628,10 @@ class CI_Form_validation { $this->_field_data[$row['field']]['postdata'] = (is_bool($result)) ? $postdata : $result; } } + else + { + log_message('debug', "Unable to find validation rule: ".$rule); + } continue; } @@ -1357,4 +1361,4 @@ class CI_Form_validation { // END Form Validation Class /* End of file Form_validation.php */ -/* Location: ./system/libraries/Form_validation.php */
\ No newline at end of file +/* Location: ./system/libraries/Form_validation.php */ |