diff options
Diffstat (limited to 'core/include/user/list.php')
-rw-r--r-- | core/include/user/list.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/include/user/list.php b/core/include/user/list.php index ec8416d..e0b54a9 100644 --- a/core/include/user/list.php +++ b/core/include/user/list.php @@ -21,14 +21,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('USER.REDIRECT_SINGLE') === TRUE AND $count === 1) { +if(Application::get('USER.REDIRECT_SINGLE') === true and $count === 1) { $User = $UserRepository->getLast(); HTTP::redirect(Application::getEntityURL($User)); } |