summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-05-07 10:48:43 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-05-07 10:48:43 -0700
commitcc17cb32071c8fbf3bfa781b98d415638ebb966e (patch)
treefa66840b1e18fa7009bd2f5ff2653c2561d1ca28 /app/Model
parent143e7bb9877dee38e799c5d23402a51785276b38 (diff)
Do not show inactive users in group members dropdown
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/GroupMemberModel.php1
1 files changed, 1 insertions, 0 deletions
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();
}