This commit is contained in:
2024-06-19 14:08:59 +02:00
parent 9436fd05cc
commit 6bfbf46dcc
21 changed files with 854 additions and 236 deletions

View File

@@ -297,7 +297,7 @@ class CI_Pagination {
*
* @var bool
*/
protected $reuse_query_string = FALSE;
protected $reuse_query_string = TRUE;
/**
* Use global URL suffix flag
@@ -523,7 +523,7 @@ class CI_Pagination {
}
// If something isn't quite right, back to the default base page.
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))
{
$this->cur_page = $base_page;
}