mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +01:00
verbindlichkeit bugfix PDF merge error
This commit is contained in:
parent
5948b728d2
commit
f6129a6ef7
@ -1232,7 +1232,7 @@ class Verbindlichkeit {
|
|||||||
header('Content-Disposition: attachment;filename='.md5(microtime(true)).'.pdf');
|
header('Content-Disposition: attachment;filename='.md5(microtime(true)).'.pdf');
|
||||||
readfile($mergeOutputPath);
|
readfile($mergeOutputPath);
|
||||||
$this->app->ExitXentral();
|
$this->app->ExitXentral();
|
||||||
} catch (\Xentral\Components\Pdf\Exception\PdfComponentExceptionInterface $exception) {
|
} catch (Exception $exception) {
|
||||||
// Just the first PDF
|
// Just the first PDF
|
||||||
foreach ($file_attachments as $file_attachment) {
|
foreach ($file_attachments as $file_attachment) {
|
||||||
if ($this->app->erp->GetDateiEndung($file_attachment) == 'pdf') {
|
if ($this->app->erp->GetDateiEndung($file_attachment) == 'pdf') {
|
||||||
|
Loading…
Reference in New Issue
Block a user