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 a6faab2 commit 3e5d109Copy full SHA for 3e5d109
system/libraries/Pagination.php
@@ -515,7 +515,7 @@ public function create_links()
515
}
516
517
// If something isn't quite right, back to the default base page.
518
- 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))
519
{
520
$this->cur_page = $base_page;
521
0 commit comments