From b08997915293835b9af95da70c65e81593870cbe Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Tue, 14 Sep 2010 13:50:36 +0000 Subject: [PATCH] Bugfix: 14236 - problem with getting cell values from another worksheet... (if cell doesn't exist) git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@60961 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Calculation.php | 2 +- changelog.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Calculation.php b/Classes/PHPExcel/Calculation.php index d7ef8739..cbf09545 100644 --- a/Classes/PHPExcel/Calculation.php +++ b/Classes/PHPExcel/Calculation.php @@ -3138,7 +3138,7 @@ class PHPExcel_Calculation { $cellValue = $this->extractCellRange($cellRef, $pCellParent->getParent()->getSheetByName($matches[2]), false); $pCell->attach($pCellParent); } else { - $cellValue = PHPExcel_Calculation_Functions::REF(); + $cellValue = NULL; } } else { return $this->_raiseFormulaError('Unable to access Cell Reference'); diff --git a/changelog.txt b/changelog.txt index ff1ac51d..4ca74be7 100644 --- a/changelog.txt +++ b/changelog.txt @@ -38,6 +38,7 @@ Fixed in SVN: - Bugfix: (MBaker) Workitem 14176 - @ format for numeric strings in XLSX to CSV conversion - Bugfix: (MBaker) Workitem 14223 - Advanced Value Binder Not Working? - Bugfix: (MBaker) Workitem 14226 - unassigned object variable in PHPExcel->removeCellXfByIndex +- Bugfix: (MBaker) Workitem 14236 - problem with getting cell values from another worksheet... (if cell doesn't exist) 2010-08-26 (v1.7.4):