summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-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);
}
/**