From: Vincent Vanwaelscappel Date: Wed, 3 Jan 2024 11:36:28 +0000 (+0100) Subject: wait #6598 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a9a8cccffd5b70f217afdc3c76be074878bf630a;p=fluidbook-toolbox.git wait #6598 --- 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()