commit | 8d3099d4e5261e0f044c7fcd8b3ab7724645aa8d | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Thu Jun 21 16:00:20 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Thu Jun 21 16:00:20 2012 +0300 |
tree | 19807910e5aa6fb087d6a9dc2935af7736a19804 | |
parent | a84055b49539da1faa2893618b2475d1888a9fea [diff] [blame] |
Fix issue #79
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index db773e2..4bb29e4 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php
@@ -571,8 +571,7 @@ { foreach ($postdata as $key => $val) { - $this->_execute($row, $rules, $val, $cycles); - $cycles++; + $this->_execute($row, $rules, $val, $key); } return;