summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-06 10:43:25 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-06 10:43:25 -0400
commit5158fbc89c1c0b0ff1027b6833d32274bd31b1db (patch)
tree81e45afc0ab40a20ec812cadc2d77cd2164d171b
parente0532c231cf1c26ffd5ca5c601df70ab8c667e8d (diff)
parentd12c453f26c081c8ba5417f28c6d30083f848e69 (diff)
Merge pull-request #903
-rw-r--r--app/Model/ProjectPermission.php4
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);
}
/**