From 37daf6a6b4e91c5392d78411d6a374c5c95e4293 Mon Sep 17 00:00:00 2001 From: Eike Foken Date: Wed, 21 Sep 2011 00:08:47 +0200 Subject: [PATCH] Show only accessible projects in header selection --- application/views/header.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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): ?>