diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-06 10:43:25 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-06 10:43:25 -0400 |
commit | 5158fbc89c1c0b0ff1027b6833d32274bd31b1db (patch) | |
tree | 81e45afc0ab40a20ec812cadc2d77cd2164d171b | |
parent | e0532c231cf1c26ffd5ca5c601df70ab8c667e8d (diff) | |
parent | d12c453f26c081c8ba5417f28c6d30083f848e69 (diff) |
Merge pull-request #903
-rw-r--r-- | app/Model/ProjectPermission.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/ProjectPermission.php b/app/Model/ProjectPermission.php index d4f44f66..b0a09df4 100644 --- a/app/Model/ProjectPermission.php +++ b/app/Model/ProjectPermission.php @@ -290,7 +290,7 @@ class ProjectPermission extends Base } /** - * Return a list of allowed projects for a given user + * Return a list of allowed active projects for a given user * * @access public * @param integer $user_id User id @@ -302,7 +302,7 @@ class ProjectPermission extends Base return $this->project->getListByStatus(Project::ACTIVE); } - return $this->getMemberProjects($user_id); + return $this->getActiveMemberProjects($user_id); } /** |