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
+4 -1
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());
}
} else {
// Cell doesn't exist
// Cell holds a NULL
$returnValue[$rRef][$cRef] = $nullValue;
}
} else {
// Cell doesn't exist
$returnValue[$rRef][$cRef] = $nullValue;
}
}
}