diff --git a/Classes/Famelo/PDF/Document.php b/Classes/Famelo/PDF/Document.php index 5d5f0b8..d1d9141 100644 --- a/Classes/Famelo/PDF/Document.php +++ b/Classes/Famelo/PDF/Document.php @@ -175,6 +175,7 @@ public function send($filename = NULL) { $this->setOptionsByViewHelper($generator); $generator->setFormat($this->format); $generator->sendPdf($content, $filename); + exit(); } public function download($filename = NULL) { @@ -183,6 +184,7 @@ public function download($filename = NULL) { $this->setOptionsByViewHelper($generator); $generator->setFormat($this->format); $generator->downloadPdf($content, $filename); + exit(); } public function save($filename) {