From: Vincent Vanwaelscappel Date: Mon, 15 Jul 2024 13:41:40 +0000 (+0200) Subject: wip #7005 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=4c98a08ee3b7fbb5a052decce1234fa012c78427;p=fluidbook_tools.git wip #7005 --- diff --git a/src/Jobs/ProcessFile.php b/src/Jobs/ProcessFile.php index fe036b6..6cf03dc 100644 --- a/src/Jobs/ProcessFile.php +++ b/src/Jobs/ProcessFile.php @@ -269,9 +269,6 @@ class ProcessFile return $svgFile; } PDFTools::makeBaseSVGFile($this->getSplittedPDFPage(), $svgFile, 1); - if (file_exists($svgFile) && filesize($svgFile) == 0) { - file_put_contents($svgFile, static::EMPTY_SVG); - } return $svgFile; }