diff --git a/public/include/pages/account/earnings.inc.php b/public/include/pages/account/earnings.inc.php index 03e6e48f..bf2d3566 100644 --- a/public/include/pages/account/earnings.inc.php +++ b/public/include/pages/account/earnings.inc.php @@ -2,7 +2,7 @@ $defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1; // Check user to ensure they are admin -if (!$user->isAuthenticated() || !$user->isAdmin($_SESSION['USERDATA']['id'])) { +if (!$user->isAuthenticated()) { header("HTTP/1.1 404 Page not found"); die("404 Page not found"); }