From da5c2b1c2254e489f8b3f684cab1dd93faaf255a Mon Sep 17 00:00:00 2001 From: oleibman Date: Wed, 3 Nov 2021 08:05:16 -0700 Subject: [PATCH] Fix Xlsx Writer Data Validation (#2369) Fix issue #2368. PR #2265 moved the place where data validations were written to the worksheet. PR #1694 was installed afterwards, and accidentally restored the original location, so validations are now being written twice. --- src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php b/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php index 72b13fc5..97fc1d61 100644 --- a/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php +++ b/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php @@ -85,9 +85,6 @@ class Worksheet extends WriterPart // conditionalFormatting $this->writeConditionalFormatting($objWriter, $worksheet); - // dataValidations - $this->writeDataValidations($objWriter, $worksheet); - // hyperlinks $this->writeHyperlinks($objWriter, $worksheet);