Skip to content

Commit 1aed73a

Browse files
committed
Merge branch 'main' of github.com:utopia-php/database into joins8
2 parents eb86340 + 3240bab commit 1aed73a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Adapter/SQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ public function getAttributeWidth(Document $collection): int
11101110

11111111
$total = 1067;
11121112

1113-
$attributes = $collection->getAttributes()['attributes'];
1113+
$attributes = $collection->getAttributes()['attributes'] ?? [];
11141114

11151115
foreach ($attributes as $attribute) {
11161116
/**

0 commit comments

Comments
 (0)