summaryrefslogtreecommitdiff
path: root/views/mods/mod_rechnungen/accounting_pdf.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2018-02-26 09:50:04 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2018-02-26 09:50:04 +0000
commita15ef5985f0699f06f58c4fd50ed7de5a556edf2 (patch)
treeb4495913296722b786d8501868fa0b323ae60b27 /views/mods/mod_rechnungen/accounting_pdf.phtml
parent78e3158daebf6a058a4837443eb27a826927b61f (diff)
- OutputBuffer Problem an den Stellen wo mit $pdf->output gearbeitet wird.
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6901 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_rechnungen/accounting_pdf.phtml')
-rw-r--r--views/mods/mod_rechnungen/accounting_pdf.phtml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/mods/mod_rechnungen/accounting_pdf.phtml b/views/mods/mod_rechnungen/accounting_pdf.phtml
index a85bde2..8a3c612 100644
--- a/views/mods/mod_rechnungen/accounting_pdf.phtml
+++ b/views/mods/mod_rechnungen/accounting_pdf.phtml
@@ -921,10 +921,14 @@
$this->callMods('wpsg_mod_rechnungen_pdf', array(&$pdf, &$this->view['data']['id'], &$this->view['preview'], &$this->view['invoice']));
$filename = $this->view['filename'].".pdf";
-
+
+ ob_end_clean();
+
if ($this->view['preview'])
{
+
$pdf->Output($filename, 'I');
+
}
else
{