summaryrefslogtreecommitdiffstats
path: root/system/post/list.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/post/list.php')
-rw-r--r--system/post/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/post/list.php b/system/post/list.php
index 7b0630c..908f7b8 100644
--- a/system/post/list.php
+++ b/system/post/list.php
@@ -14,7 +14,7 @@ $currentSite = HTTP::GET('site') ?? 1;
$currentSite = abs(intval($currentSite));
if($currentSite < 1 OR ($currentSite > $lastSite AND $lastSite > 0)) {
- Application::exit(404);
+ Application::error404();
}
#===============================================================================