diff --git a/app/Http/Controllers/SiteController.php b/app/Http/Controllers/SiteController.php index c985b3b34..c14dc1ddb 100644 --- a/app/Http/Controllers/SiteController.php +++ b/app/Http/Controllers/SiteController.php @@ -46,7 +46,7 @@ class SiteController extends Controller $page = Page::whereSlug('/site/about')->whereActive(true)->first(); $stats = [ 'posts' => Status::whereLocal(true)->count(), - 'users' => User::count(), + 'users' => User::whereNull('status')->count(), 'admin' => User::whereIsAdmin(true)->first() ]; if($page) {