From: Vincent Vanwaelscappel Date: Thu, 19 Oct 2023 09:48:59 +0000 (+0200) Subject: fix #6427 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e44e37ad9ff6f2dbf69f0e115b7d941252dbac0e;p=fluidbook-toolbox.git fix #6427 --- diff --git a/app/Http/Controllers/Admin/Operations/Tools/FluidbookReferencesURL.php b/app/Http/Controllers/Admin/Operations/Tools/FluidbookReferencesURL.php index 3bec36008..5a49ed603 100644 --- a/app/Http/Controllers/Admin/Operations/Tools/FluidbookReferencesURL.php +++ b/app/Http/Controllers/Admin/Operations/Tools/FluidbookReferencesURL.php @@ -66,7 +66,7 @@ trait FluidbookReferencesURL if (null === static::$db) { $keys = array_keys(static::$_db); static::$db = static::$_db; - foreach (FluidbookReference::whereNotIn('type', $keys)->get() as $item) { + foreach (FluidbookReference::withoutGlobalScopes()->whereNotIn('type', $keys)->get() as $item) { if (isset(static::$db[$item->type])) { continue; }