summaryrefslogtreecommitdiff
path: root/app/Controller/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/User.php')
-rw-r--r--app/Controller/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/User.php b/app/Controller/User.php
index 504f4aed..c94c2c88 100644
--- a/app/Controller/User.php
+++ b/app/Controller/User.php
@@ -353,7 +353,7 @@ class User extends Base
$this->response->html($this->layout('user_edit', array(
'values' => $values,
'errors' => $errors,
- 'projects' => $this->projectPermission->getAllowedProjects($user['id']),
+ 'projects' => $this->projectPermission->filterProjects($this->project->getList(), $user['id']),
'user' => $user,
)));
}