aboutsummaryrefslogtreecommitdiffstats
path: root/core/include/post
diff options
context:
space:
mode:
Diffstat (limited to 'core/include/post')
-rw-r--r--core/include/post/list.php2
1 files changed, 1 insertions, 1 deletions
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));
}