diff --git a/classes/pdf/PDF.php b/classes/pdf/PDF.php index 6c27729f5..b348a67c8 100755 --- a/classes/pdf/PDF.php +++ b/classes/pdf/PDF.php @@ -82,7 +82,7 @@ class PDFCore if ($render) { // clean the output buffer to avoid random bugs with tcpdf - ob_end_clean(); + @ob_end_clean(); //if you change zlib output compression setting in between ob_start and ob_end_clean or ob_end_flush, you will get an error return $this->pdf_renderer->render($this->filename, $display); } }