]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6482 @2
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 21 Dec 2023 16:34:49 +0000 (17:34 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 21 Dec 2023 16:34:49 +0000 (17:34 +0100)
resources/views/fluidbook_publication/link_editor.blade.php

index ecd5ab57c8a6eccfa19541f2f14d8478aeb4348f..ea97c860e111c1574378c1cf9c13510b1bc5e892 100644 (file)
@@ -16,7 +16,7 @@
         $mh = max($mh,$fbdata['page_dimensions'][$i][1]);
     }
     $fbdata['pages_max_height']=$mh;
-    $theme=\App\Models\FluidbookTheme::find($fluidbook->theme);
+    $theme=\App\Models\FluidbookTheme::withoutGlobalScopes()->find($fluidbook->theme);
     /** @var \Cubist\Backpack\Magic\PageData $themeData */
     $themeData=$theme->getPageData();
     $themeRawData=$themeData->getRawData();