]> _ Git - fluidbook-toolbox.git/commitdiff
fix #6427
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Oct 2023 09:48:59 +0000 (11:48 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 19 Oct 2023 09:48:59 +0000 (11:48 +0200)
app/Http/Controllers/Admin/Operations/Tools/FluidbookReferencesURL.php

index 3bec360086351ed750ca058b2ef11e29baaaca93..5a49ed603fb0f064f53bcb5400ceee150879b3af 100644 (file)
@@ -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;
                 }