Skip to content

Commit 14d807c

Browse files
jonnylinkPowerKiKi
authored andcommitted
BUGFIX for issue #1161 (#1328)
Removed broken unused code that tried to set a constant multiple times. Fixes #1161 Closes #1328
1 parent 83a5053 commit 14d807c

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org).
1111
- Handle Error in Formula Processing Better for Xls [#1267](https://github.com/PHPOffice/PhpSpreadsheet/pull/1267)
1212
- Handle ConditionalStyle NumberFormat When Reading Xlsx File [#1296](https://github.com/PHPOffice/PhpSpreadsheet/pull/1296)
1313
- Fix Xlsx Writer's handling of decimal commas [#1282](https://github.com/PHPOffice/PhpSpreadsheet/pull/1282)
14+
- Fix for issue by removing test code mistakenly left in [#1328](https://github.com/PHPOffice/PhpSpreadsheet/pull/1328)
1415

1516
## [1.10.1] - 2019-12-02
1617

src/PhpSpreadsheet/Calculation/Calculation.php

-7
Original file line numberDiff line numberDiff line change
@@ -4159,13 +4159,6 @@ private function processTokenStack($tokens, $cellID = null, Cell $pCell = null)
41594159
if ($pCellParent) {
41604160
$pCell->attach($pCellParent);
41614161
}
4162-
if (($cellID == 'AC99') || (isset($pCell) && $pCell->getCoordinate() == 'AC99')) {
4163-
if (defined('RESOLVING')) {
4164-
define('RESOLVING2', true);
4165-
} else {
4166-
define('RESOLVING', true);
4167-
}
4168-
}
41694162

41704163
$functionName = $matches[1];
41714164
$argCount = $stack->pop();

0 commit comments

Comments
 (0)