]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6598
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 3 Jan 2024 11:36:28 +0000 (12:36 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 3 Jan 2024 11:36:28 +0000 (12:36 +0100)
app/Models/FluidbookDocument.php

index fa9ce4ec7dcb438f88fca5eb97596c67ac2fc012..f3cf142a14a6b21aa1d409daec1e08b26f7e5a04 100644 (file)
@@ -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()