diff options
Diffstat (limited to 'core/include/page')
-rw-r--r-- | core/include/page/list.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/page/list.php b/core/include/page/list.php index a02fd33..5fb4706 100644 --- a/core/include/page/list.php +++ b/core/include/page/list.php @@ -22,14 +22,14 @@ $lastSite = ceil($count / $site_size); $currentSite = HTTP::GET('site') ?? 1; $currentSite = intval($currentSite); -if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) { +if($currentSite < 1 or ($currentSite > $lastSite and $lastSite > 0)) { Application::error404(); } #=============================================================================== # Single redirect #=============================================================================== -if(Application::get('PAGE.REDIRECT_SINGLE') === TRUE AND $count === 1) { +if(Application::get('PAGE.REDIRECT_SINGLE') === true and $count === 1) { $Page = $PageRepository->getLast(); HTTP::redirect(Application::getEntityURL($Page)); } |