From 29a286da221dfbd4e492f59430cf82a4408bad1a Mon Sep 17 00:00:00 2001 From: Adrian Batista Date: Sun, 12 Nov 2023 18:52:17 -0300 Subject: [PATCH] fix absolute reference error --- src/PhpSpreadsheet/Cell/Coordinate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Cell/Coordinate.php b/src/PhpSpreadsheet/Cell/Coordinate.php index 6a377f2b40..0138b938a4 100644 --- a/src/PhpSpreadsheet/Cell/Coordinate.php +++ b/src/PhpSpreadsheet/Cell/Coordinate.php @@ -327,7 +327,7 @@ public static function coordinateIsInsideRange(string $range, string $coordinate } } - $boundaries = self::rangeBoundaries($range); + $boundaries = self::rangeBoundaries($coordinateData['localReference']); $coordinates = self::indexesFromString($coordinate); $columnIsInside = $boundaries[0][0] <= $coordinates[0] && $coordinates[0] <= $boundaries[1][0];