From aa433f9d87449183e8da3c6b5a1e1ac6508f84f2 Mon Sep 17 00:00:00 2001 From: martincodes <62392843+martincodes-de@users.noreply.github.com> Date: Wed, 13 Oct 2021 18:54:22 +0200 Subject: [PATCH] add condition to count accounts that arent removed --- src/Module/Admin/BaseUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Admin/BaseUsers.php b/src/Module/Admin/BaseUsers.php index cab92c08c2..5dd3470277 100644 --- a/src/Module/Admin/BaseUsers.php +++ b/src/Module/Admin/BaseUsers.php @@ -42,7 +42,7 @@ abstract class BaseUsers extends BaseAdmin { $active = DBA::count('user', ['blocked' => false, 'verified' => true, 'account_removed' => false]); $pending = Register::getPendingCount(); - $blocked = DBA::count('user', ['blocked' => true, 'verified' => true]); + $blocked = DBA::count('user', ['blocked' => true, 'verified' => true, 'account_removed' => false]); $deleted = DBA::count('user', ['account_removed' => true]); $tabs = [