vaujdui
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user