Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Commit

Permalink
Merge pull request #279 from EliuFlorez/patch-1
Browse files Browse the repository at this point in the history
Update Calculation.php
  • Loading branch information
Mark Baker committed Dec 31, 2013
2 parents dc97d2f + b990744 commit 4a18c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/PHPExcel/Calculation.php
Original file line number Diff line number Diff line change
Expand Up @@ -3324,7 +3324,8 @@ private function _processTokenStack($tokens, $cellID = NULL, PHPExcel_Cell $pCel
// echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'<br />';
$this->_debugLog->writeDebugLog('Evaluating Cell ', $cellRef, ' in worksheet ', $matches[2]);
if ($pCellParent !== NULL) {
if ($this->_workbook->getSheetByName($matches[2])->cellExists($cellRef)) {
$cellSheet = $this->_workbook->getSheetByName($matches[2]);
if ($cellSheet && $cellSheet->cellExists($cellRef)) {
$cellValue = $this->extractCellRange($cellRef, $this->_workbook->getSheetByName($matches[2]), FALSE);
$pCell->attach($pCellParent);
} else {
Expand Down

0 comments on commit 4a18c9c

Please sign in to comment.