Version 5.0.0 beta 5
This commit is contained in:
1 parent
2f24f9de48
commit
57d9db6ce2
218 files changed
+5331
-7416
No files matched your search
@@ -146,11 +146,11 @@ class Front extends Standard
|
||||
static::baseJs();
|
||||
|
||||
/* Get the current page, if any */
|
||||
if ( isset( Request::i()->page ) )
|
||||
if ( isset( Request::i()->page ) and is_numeric( Request::i()->page ) )
|
||||
{
|
||||
$this->currentPage = Request::i()->page;
|
||||
}
|
||||
else if ( isset( Request::i()->url()->hiddenQueryString['page'] ) and $page = Request::i()->url()->hiddenQueryString['page'] )
|
||||
else if ( isset( Request::i()->url()->hiddenQueryString['page'] ) and is_numeric( Request::i()->url()->hiddenQueryString['page'] ) and $page = Request::i()->url()->hiddenQueryString['page'] )
|
||||
{
|
||||
$this->currentPage = $page;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user