summaryrefslogtreecommitdiff
path: root/app/Formatter/ProjectGanttFormatter.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Formatter/ProjectGanttFormatter.php')
-rw-r--r--app/Formatter/ProjectGanttFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Formatter/ProjectGanttFormatter.php b/app/Formatter/ProjectGanttFormatter.php
index 17496088..4f73e217 100644
--- a/app/Formatter/ProjectGanttFormatter.php
+++ b/app/Formatter/ProjectGanttFormatter.php
@@ -79,7 +79,7 @@ class ProjectGanttFormatter extends Project implements FormatterInterface
'gantt_link' => $this->helper->url->href('gantt', 'project', array('project_id' => $project['id'])),
'color' => $color,
'not_defined' => empty($project['start_date']) || empty($project['end_date']),
- 'users' => $this->projectPermission->getProjectUsers($project['id']),
+ 'users' => $this->projectUserRole->getAllUsersGroupedByRole($project['id']),
);
}