mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-27 18:38:56 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user