]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7340 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Feb 2025 09:17:07 +0000 (10:17 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Feb 2025 09:17:07 +0000 (10:17 +0100)
app/Jobs/FluidbookDocumentFileProcess.php
app/Models/FluidbookDocument.php

index 8aafdc11a104a85ef29fc3f3a2c9182e22d69c41..be4f78a0223b13244c56bf18e057c893042621f9 100644 (file)
@@ -75,7 +75,7 @@ class FluidbookDocumentFileProcess extends Base
 
     public function isOK($forceCheck = false)
     {
-        return $this->document->hasFile($this->page, $this->format, $this->resolution, $this->quality, $this->withText, $this->withGraphics, $this->version, $this->transparent, $this->forceCheck || $forceCheck);
+        return $this->document->hasFile($this->page, $this->format, $this->resolution, $this->quality, $this->withText, $this->withGraphics, $this->transparent, $this->version, $this->forceCheck || $forceCheck);
     }
 
     public function isError()
index 8bc701b76bb7cba37744468b015cfb00b6398055..2eb9d60a1eb97534f93c86f3e811f631fbcc593b 100644 (file)
@@ -264,7 +264,7 @@ class FluidbookDocument extends ToolboxModel
         $this->saveQuietly();
     }
 
-    public function hasFile($page, $format = 'jpg', $resolution = 150, $quality = 85, $withText = true, $withGraphics = true, $version = 'html', $transparent = false, $forceCheck = false)
+    public function hasFile($page, $format = 'jpg', $resolution = 150, $quality = 85, $withText = true, $withGraphics = true, $transparent = false, $version = 'html', $forceCheck = false)
     {
         $this->_normalize($format, $resolution, $quality, $withText, $withGraphics, $transparent, $version);
         $cacheKey = $this->fileCacheKey($page, $format, $resolution, $quality, $withText, $withGraphics, $transparent, $version);