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 f4d6b31 commit b30b74fCopy full SHA for b30b74f
system/libraries/Pagination.php
@@ -523,7 +523,7 @@ public function create_links()
523
}
524
525
// If something isn't quite right, back to the default base page.
526
- if ( ! ctype_digit($this->cur_page) OR ($this->use_page_numbers && (int) $this->cur_page === 0))
+ if ( ! ctype_digit((string) $this->cur_page) OR ($this->use_page_numbers && (int) $this->cur_page === 0))
527
{
528
$this->cur_page = $base_page;
529
0 commit comments