diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/include/category/list.php | 2 | ||||
-rw-r--r-- | core/include/page/list.php | 2 | ||||
-rw-r--r-- | core/include/post/list.php | 2 | ||||
-rw-r--r-- | core/include/user/list.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/core/include/category/list.php b/core/include/category/list.php index 3a5720b..62881a6 100644 --- a/core/include/category/list.php +++ b/core/include/category/list.php @@ -28,7 +28,7 @@ if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) { #=============================================================================== # Single redirect #=============================================================================== -if(Application::get('CATEGORY.SINGLE_REDIRECT') === TRUE AND $count === 1) { +if(Application::get('CATEGORY.REDIRECT_SINGLE') === TRUE AND $count === 1) { $Category = $CategoryRepository->getLast(); HTTP::redirect(Application::getEntityURL($Category)); } diff --git a/core/include/page/list.php b/core/include/page/list.php index 8cfbce5..a02fd33 100644 --- a/core/include/page/list.php +++ b/core/include/page/list.php @@ -29,7 +29,7 @@ if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) { #=============================================================================== # Single redirect #=============================================================================== -if(Application::get('PAGE.SINGLE_REDIRECT') === TRUE AND $count === 1) { +if(Application::get('PAGE.REDIRECT_SINGLE') === TRUE AND $count === 1) { $Page = $PageRepository->getLast(); HTTP::redirect(Application::getEntityURL($Page)); } diff --git a/core/include/post/list.php b/core/include/post/list.php index ab48552..c696419 100644 --- a/core/include/post/list.php +++ b/core/include/post/list.php @@ -29,7 +29,7 @@ if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) { #=============================================================================== # Single redirect #=============================================================================== -if(Application::get('POST.SINGLE_REDIRECT') === TRUE AND $count === 1) { +if(Application::get('POST.REDIRECT_SINGLE') === TRUE AND $count === 1) { $Post = $PostRepository->getLast(); HTTP::redirect(Application::getEntityURL($Post)); } diff --git a/core/include/user/list.php b/core/include/user/list.php index f4aec77..ec8416d 100644 --- a/core/include/user/list.php +++ b/core/include/user/list.php @@ -28,7 +28,7 @@ if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) { #=============================================================================== # Single redirect #=============================================================================== -if(Application::get('USER.SINGLE_REDIRECT') === TRUE AND $count === 1) { +if(Application::get('USER.REDIRECT_SINGLE') === TRUE AND $count === 1) { $User = $UserRepository->getLast(); HTTP::redirect(Application::getEntityURL($User)); } |