diff --git a/app/Template/project/sidebar.php b/app/Template/project/sidebar.php
index 2cc5ff2fc..927940385 100644
--- a/app/Template/project/sidebar.php
+++ b/app/Template/project/sidebar.php
@@ -33,7 +33,7 @@
= $this->url->link(t('Categories'), 'category', 'index', array('project_id' => $project['id'])) ?>
-
app->getRouterController() === 'project' && $this->app->getRouterAction() === 'permissions' ? 'class="active"' : '' ?>>
+ app->getRouterController() === 'ProjectPermission' ? 'class="active"' : '' ?>>
= $this->url->link(t('Permissions'), 'ProjectPermission', 'index', array('project_id' => $project['id'])) ?>
@@ -60,7 +60,7 @@
- = $this->hook->render('template:project:sidebar') ?>
+ = $this->hook->render('template:project:sidebar', array('project' => $project)) ?>