From 62d5152209665cc1592312704427b185e856187d Mon Sep 17 00:00:00 2001 From: fogelito Date: Mon, 9 Feb 2026 09:37:10 +0200 Subject: [PATCH] fallback --- src/Database/Adapter/SQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Database/Adapter/SQL.php b/src/Database/Adapter/SQL.php index 4a7c34520..9c4a81046 100644 --- a/src/Database/Adapter/SQL.php +++ b/src/Database/Adapter/SQL.php @@ -1110,7 +1110,7 @@ public function getAttributeWidth(Document $collection): int $total = 1067; - $attributes = $collection->getAttributes()['attributes']; + $attributes = $collection->getAttributes()['attributes'] ?? []; foreach ($attributes as $attribute) { /**