Skip to content

Commit e42547a

Browse files
committed
DataGrid: fixes function arguments
1 parent 94279ca commit e42547a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataGrid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2784,7 +2784,7 @@ public function getPerPage()
27842784
$per_page = $this->per_page ?: reset($items_per_page_list);
27852785

27862786
if (($per_page !== 'all' && !in_array((int) $this->per_page, $items_per_page_list, true))
2787-
|| ($per_page === 'all' && !array_key_exists($this->per_page, $items_per_page_list, true))) {
2787+
|| ($per_page === 'all' && !array_key_exists($this->per_page, $items_per_page_list))) {
27882788
$per_page = reset($items_per_page_list);
27892789
}
27902790

0 commit comments

Comments
 (0)