Permalink
Browse files

Added $this->activeRow while walking the columns of the MCW. See Issue

  • Loading branch information...
1 parent fb59e5a commit ddc2742233e8fb821332340955465890d2c746f8 David Maack committed Apr 30, 2012
@@ -18,4 +18,4 @@
* Author Andreas Schempp <andreas@schempp.ch>
* Link http://www.iserv.ch/
* License GNU/LGPL
- */
+ */
@@ -204,6 +204,8 @@ protected function validator($varInput)
{
for ($i = 0; $i < count($varInput); $i++)
{
+ $this->activeRow = $i;
+
// Walk every column
foreach ($this->columnFields as $strKey => $arrField)
{
@@ -384,6 +386,7 @@ public function generate()
// Add input fields
for ($i = 0; $i < $intNumberOfRows; $i++)
{
+ $this->activeRow = $i;
$strHidden = '';
// Walk every column

0 comments on commit ddc2742

Please sign in to comment.