From 4c98a08ee3b7fbb5a052decce1234fa012c78427 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 15 Jul 2024 15:41:40 +0200 Subject: [PATCH] wip #7005 --- src/Jobs/ProcessFile.php | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.39.5