summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-21 15:00:20 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-21 15:00:20 +0200
commit8d3099d4e5261e0f044c7fcd8b3ab7724645aa8d (patch)
tree19807910e5aa6fb087d6a9dc2935af7736a19804 /system/libraries
parenta84055b49539da1faa2893618b2475d1888a9fea (diff)
Fix issue #79
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Form_validation.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index db773e252..4bb29e41b 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -571,8 +571,7 @@ class CI_Form_validation {
{
foreach ($postdata as $key => $val)
{
- $this->_execute($row, $rules, $val, $cycles);
- $cycles++;
+ $this->_execute($row, $rules, $val, $key);
}
return;