diff --git a/module/user/model.php b/module/user/model.php index a5a677b780..a9089b8b45 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -958,6 +958,7 @@ class userModel extends model ->where('t1.type')->eq('project') ->andWhere('t1.account')->eq($account) ->andWhere('t2.deleted')->eq(0) + ->andWhere('t2.program')->ne(0) ->orderBy('t2.id_desc') ->fetchAll();