summaryrefslogtreecommitdiff
path: root/app/Controller/Search.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Search.php')
-rw-r--r--app/Controller/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Search.php b/app/Controller/Search.php
index 0aff9073..390210c0 100644
--- a/app/Controller/Search.php
+++ b/app/Controller/Search.php
@@ -12,7 +12,7 @@ class Search extends Base
{
public function index()
{
- $projects = $this->projectPermission->getAllowedProjects($this->userSession->getId());
+ $projects = $this->projectUserRole->getProjectsByUser($this->userSession->getId());
$search = urldecode($this->request->getStringParam('search'));
$nb_tasks = 0;