From 10634822fe99fc9b59f73b14fd2e74c5dcb71d05 Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Tue, 12 Oct 2010 21:34:04 +0000 Subject: [PATCH] Minor fix to toArray() method for row indexing when the $returnCellRef argument is false git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62185 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Worksheet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Worksheet.php b/Classes/PHPExcel/Worksheet.php index 050af58f..5886dfd8 100644 --- a/Classes/PHPExcel/Worksheet.php +++ b/Classes/PHPExcel/Worksheet.php @@ -2130,7 +2130,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable $this->garbageCollect(); // Loop through rows - $r = -2; + $r = -1; $rowIterator = $this->getRowIterator(); foreach ($rowIterator as $row) { ++$r;