From 14d807c2c4187f577902c0768c3a9e43b026880e Mon Sep 17 00:00:00 2001 From: Jon Link Date: Fri, 24 Jan 2020 00:40:30 -0500 Subject: [PATCH] BUGFIX for issue #1161 (#1328) Removed broken unused code that tried to set a constant multiple times. Fixes #1161 Closes #1328 --- CHANGELOG.md | 1 + src/PhpSpreadsheet/Calculation/Calculation.php | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5011905..864479f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org). - Handle Error in Formula Processing Better for Xls [#1267](https://github.com/PHPOffice/PhpSpreadsheet/pull/1267) - Handle ConditionalStyle NumberFormat When Reading Xlsx File [#1296](https://github.com/PHPOffice/PhpSpreadsheet/pull/1296) - Fix Xlsx Writer's handling of decimal commas [#1282](https://github.com/PHPOffice/PhpSpreadsheet/pull/1282) +- Fix for issue by removing test code mistakenly left in [#1328](https://github.com/PHPOffice/PhpSpreadsheet/pull/1328) ## [1.10.1] - 2019-12-02 diff --git a/src/PhpSpreadsheet/Calculation/Calculation.php b/src/PhpSpreadsheet/Calculation/Calculation.php index 1e299f47..cc8a8bd8 100644 --- a/src/PhpSpreadsheet/Calculation/Calculation.php +++ b/src/PhpSpreadsheet/Calculation/Calculation.php @@ -4159,13 +4159,6 @@ class Calculation if ($pCellParent) { $pCell->attach($pCellParent); } - if (($cellID == 'AC99') || (isset($pCell) && $pCell->getCoordinate() == 'AC99')) { - if (defined('RESOLVING')) { - define('RESOLVING2', true); - } else { - define('RESOLVING', true); - } - } $functionName = $matches[1]; $argCount = $stack->pop();