summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 02:53:34 +0100
committerAhmedul Haque Abid <a_h_abid@hotmail.com>2014-01-09 02:53:34 +0100
commitbc1cbad058f052e5f5dda85602056c26be94094c (patch)
tree88ab4a58021681320f44b7e9a1581f952281fa84 /system
parent0742fad5cb283693bf1ef0a63aa90bb6cb2927d8 (diff)
Fixed a missed variable $errors in set_rules().
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Form_validation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 55ef28c80..3ec03ae16 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -181,7 +181,7 @@ class CI_Form_validation {
$errors = (isset($row['error_msg']) && is_array($row['error_msg']) ) ? $row['error_msg'] : array();
// Here we go!
- $this->set_rules($row['field'], $label, $row['rules']);
+ $this->set_rules($row['field'], $label, $row['rules'], $errors);
}
return $this;