diff --git a/application/views/header.php b/application/views/header.php index 5677e3b..57a115a 100644 --- a/application/views/header.php +++ b/application/views/header.php @@ -51,12 +51,7 @@ access->isAdmin()) { - $theProjects = $this->project->getAll(); - } else { - $theProjects = $this->project->getAccessible(); - } - foreach ($theProjects as $project): + foreach ($this->project->getAccessible() as $project): ?>