mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2025-02-06 01:39:24 +03:00
Fix to case-sensitivity in getCell() method when using a worksheet!cell reference
This commit is contained in:
parent
372c7cbb69
commit
0cdda0dc42
@ -1152,7 +1152,6 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||
*/
|
||||
public function getCell($pCoordinate = 'A1')
|
||||
{
|
||||
$pCoordinate = strtoupper($pCoordinate);
|
||||
// Check cell collection
|
||||
if ($this->_cellCollection->isDataSet($pCoordinate)) {
|
||||
return $this->_cellCollection->getCacheData($pCoordinate);
|
||||
@ -1161,7 +1160,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||
// Worksheet reference?
|
||||
if (strpos($pCoordinate, '!') !== false) {
|
||||
$worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true);
|
||||
return $this->_parent->getSheetByName($worksheetReference[0])->getCell($worksheetReference[1]);
|
||||
return $this->_parent->getSheetByName($worksheetReference[0])->getCell(strtoupper($worksheetReference[1]));
|
||||
}
|
||||
|
||||
// Named range?
|
||||
|
Loading…
x
Reference in New Issue
Block a user