Skip to content

Commit 1cb04cb

Browse files
Priority fix
1 parent df56424 commit 1cb04cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Pager/Pager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ protected function calculateCurrentPage(string $group)
564564
{
565565
$pageSelector = $this->groups[$group]['pageSelector'];
566566

567-
$page = (int) $_GET[$pageSelector] ?? 1;
567+
$page = (int) ($_GET[$pageSelector] ?? 1);
568568

569569
$this->groups[$group]['currentPage'] = $page < 1 ? 1 : $page;
570570
}

0 commit comments

Comments
 (0)