From f6129a6ef7ecd1a3dd086d437b9c23900580689d Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Thu, 18 Jan 2024 13:08:56 +0100 Subject: [PATCH] verbindlichkeit bugfix PDF merge error --- www/pages/verbindlichkeit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pages/verbindlichkeit.php b/www/pages/verbindlichkeit.php index 3453bee1..fc94e8b1 100644 --- a/www/pages/verbindlichkeit.php +++ b/www/pages/verbindlichkeit.php @@ -1232,7 +1232,7 @@ class Verbindlichkeit { header('Content-Disposition: attachment;filename='.md5(microtime(true)).'.pdf'); readfile($mergeOutputPath); $this->app->ExitXentral(); - } catch (\Xentral\Components\Pdf\Exception\PdfComponentExceptionInterface $exception) { + } catch (Exception $exception) { // Just the first PDF foreach ($file_attachments as $file_attachment) { if ($this->app->erp->GetDateiEndung($file_attachment) == 'pdf') {