]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6653 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 23 Jan 2024 08:51:50 +0000 (09:51 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 23 Jan 2024 08:51:50 +0000 (09:51 +0100)
resources/views/fluidbook_publication/link_editor.blade.php

index 41d6873a30a521b15a949537cd6f74332536fb4b..913d9dfc1be2ce654c7b1d005ad3d38f1bde87cb 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();