aboutsummaryrefslogtreecommitdiffstats
path: root/system/user
diff options
context:
space:
mode:
Diffstat (limited to 'system/user')
-rw-r--r--system/user/list.php2
-rw-r--r--system/user/main.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/system/user/list.php b/system/user/list.php
index b724fe8..2e1e4f1 100644
--- a/system/user/list.php
+++ b/system/user/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();
}
#===============================================================================
diff --git a/system/user/main.php b/system/user/main.php
index 7dcd6da..8b7bc79 100644
--- a/system/user/main.php
+++ b/system/user/main.php
@@ -93,6 +93,6 @@ catch(User\Exception $Exception) {
}
catch(User\Exception $Exception) {
- Application::exit(404);
+ Application::error404();
}
} \ No newline at end of file