From f41e30317e3c5bb0a7f3e74b2577f6df57304f48 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 23 Jan 2024 09:51:50 +0100 Subject: [PATCH] wait #6653 @0:10 --- resources/views/fluidbook_publication/link_editor.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/fluidbook_publication/link_editor.blade.php b/resources/views/fluidbook_publication/link_editor.blade.php index 41d6873a3..913d9dfc1 100644 --- a/resources/views/fluidbook_publication/link_editor.blade.php +++ b/resources/views/fluidbook_publication/link_editor.blade.php @@ -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(); -- 2.39.5