From 4539afabdbbedbeadd937f0569dc13fc6286cd1b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 19 Jun 2019 21:16:01 -0600 Subject: [PATCH] Update SiteController --- app/Http/Controllers/SiteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {