From cc17cb32071c8fbf3bfa781b98d415638ebb966e Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 7 May 2018 10:48:43 -0700 Subject: Do not show inactive users in group members dropdown --- app/Model/GroupMemberModel.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Model/GroupMemberModel.php') diff --git a/app/Model/GroupMemberModel.php b/app/Model/GroupMemberModel.php index a2077789..ff24777e 100644 --- a/app/Model/GroupMemberModel.php +++ b/app/Model/GroupMemberModel.php @@ -60,6 +60,7 @@ class GroupMemberModel extends Base return $this->db->table(UserModel::TABLE) ->notInSubquery('id', $subquery) + ->eq('is_active', 1) ->findAll(); } -- cgit v1.2.3