]> _ Git - fluidbook_tools.git/commitdiff
wait #7504 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 May 2025 08:51:20 +0000 (10:51 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 5 May 2025 08:51:20 +0000 (10:51 +0200)
src/Links/Link.php

index 57e57bad8a64b5dd0b00cec1a34c3896d2b073d6..9cb9fab3d6604d6be58be893b5a390723829e2a2 100644 (file)
@@ -976,7 +976,7 @@ class Link
             return $link;
         }
         foreach ($link as $attr => $item) {
-            if (!str_starts_with($item, '///')) {
+            if (!is_string($item) || !str_starts_with($item, '///')) {
                 continue;
             }
             $v = Crypt::safeDecrypt(substr($item, 3), self::_getLinkKey());