From a1b46884ba8ddabf8fb40ea7b8de90d156e99329 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Wed, 10 Sep 2025 01:35:47 +0200 Subject: [PATCH] Fix Undefined array key 4 Signed-off-by: Liviu-Mihail Concioiu --- libraries/classes/Plugins/Export/Helpers/Pdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/classes/Plugins/Export/Helpers/Pdf.php b/libraries/classes/Plugins/Export/Helpers/Pdf.php index 1ec18c2365..8bac35c212 100644 --- a/libraries/classes/Plugins/Export/Helpers/Pdf.php +++ b/libraries/classes/Plugins/Export/Helpers/Pdf.php @@ -641,7 +641,7 @@ class Pdf extends PdfLib foreach ($data as $col => $txt) { $this->page = $currpage; $this->setXY($l, $h); - if ($this->tablewidths[$col] > 0) { + if (isset($this->tablewidths[$col]) && $this->tablewidths[$col] > 0) { $this->MultiCell( $this->tablewidths[$col], // phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps