From ffb4292b0b3106152d5f44e5cccc687664d9f606 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 8 Nov 2020 02:26:12 -0500 Subject: [PATCH] Improve accuracy of User::getList with type = blocked - user.blocked is used for pending registrations as well --- src/Model/User.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Model/User.php b/src/Model/User.php index eda724efc..39f9dc2a1 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -1511,7 +1511,9 @@ class User $condition['blocked'] = false; break; case 'blocked': + $condition['account_removed'] = false; $condition['blocked'] = true; + $condition['verified'] = true; break; case 'removed': $condition['account_removed'] = true;