We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06dc44d commit 544c164Copy full SHA for 544c164
src/Database/Table/GroupedSelection.php
@@ -158,7 +158,7 @@ protected function execute(): void
158
foreach ((array) $this->rows as $key => $row) {
159
$ref = &$data[$row[$this->column]];
160
$skip = &$offset[$row[$this->column]];
161
- if ($limit === null || $rows <= 1 || (count($ref) < $limit && $skip >= $this->sqlBuilder->getOffset())) {
+ if ($limit === null || $rows <= 1 || (count($ref ?? []) < $limit && $skip >= $this->sqlBuilder->getOffset())) {
162
$ref[$key] = $row;
163
} else {
164
unset($this->rows[$key]);
0 commit comments