From a9a8cccffd5b70f217afdc3c76be074878bf630a Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 3 Jan 2024 12:36:28 +0100 Subject: [PATCH] wait #6598 --- app/Models/FluidbookDocument.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Models/FluidbookDocument.php b/app/Models/FluidbookDocument.php index fa9ce4ec7..f3cf142a1 100644 --- a/app/Models/FluidbookDocument.php +++ b/app/Models/FluidbookDocument.php @@ -191,12 +191,7 @@ class FluidbookDocument extends ToolboxModel public function fixPDF() { - $fixed = $this->getPDFSource('fixed'); - $original = $this->getPDFSource('original'); - - Farm::fixPDF($original, $fixed); - - return $fixed; + return Farm::fixPDF($this->getPDFSource('original'), $this->getPDFSource('fixed')); } public function splitPDF() -- 2.39.5