Skip to content

Commit e2914da

Browse files
committed
fix: missing argument $group
1 parent 5dfa393 commit e2914da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/BaseModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ public function paginate(?int $perPage = null, string $group = 'default', ?int $
10761076
$pager = Services::pager(null, null, false);
10771077

10781078
if ($segment) {
1079-
$pager->setSegment($segment);
1079+
$pager->setSegment($segment, $group);
10801080
}
10811081

10821082
$page = $page >= 1 ? $page : $pager->getCurrentPage($group);

0 commit comments

Comments
 (0)