Bugfix: Work item 15172 - rangeToarray function modified for non-existent cells

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@67475 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2011-01-27 16:09:37 +00:00
parent a7d2134271
commit 545c2a0f19
2 changed files with 5 additions and 1 deletions

View File

@ -2190,9 +2190,12 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
$returnValue[$rRef][$cRef] = PHPExcel_Style_NumberFormat::toFormattedString($returnValue[$rRef][$cRef], $style->getNumberFormat()->getFormatCode()); $returnValue[$rRef][$cRef] = PHPExcel_Style_NumberFormat::toFormattedString($returnValue[$rRef][$cRef], $style->getNumberFormat()->getFormatCode());
} }
} else { } else {
// Cell doesn't exist // Cell holds a NULL
$returnValue[$rRef][$cRef] = $nullValue; $returnValue[$rRef][$cRef] = $nullValue;
} }
} else {
// Cell doesn't exist
$returnValue[$rRef][$cRef] = $nullValue;
} }
} }
} }

View File

@ -49,6 +49,7 @@ Fixed in SVN:
- Bugfix: (MBaker) Work item 15089 - PHPExcel_Worksheet->toArray() index problem - Bugfix: (MBaker) Work item 15089 - PHPExcel_Worksheet->toArray() index problem
- Bugfix: (MBaker) Work item 15094 - Merge cells 'un-merge' when using an existing spreadsheet - Bugfix: (MBaker) Work item 15094 - Merge cells 'un-merge' when using an existing spreadsheet
- Bugfix: (MBaker) Work item 15129 - Worksheet fromArray() only working with 2-D arrays - Bugfix: (MBaker) Work item 15129 - Worksheet fromArray() only working with 2-D arrays
- Bugfix: (MBaker) Work item 15172 - rangeToarray function modified for non-existent cells
- General: (MBaker) Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer. - General: (MBaker) Improved performance (speed), for building the Shared Strings table in the Excel2007 Writer.