Minor code improvements

This commit is contained in:
Frédéric Guillot
2014-05-23 10:14:25 -04:00
parent 7b53d47d46
commit db76bcb593
7 changed files with 12 additions and 17 deletions

View File

@@ -144,6 +144,8 @@ class Board extends Base
public function index()
{
$projects = $this->project->getListByStatus(ProjectModel::ACTIVE);
$project_id = 0;
$project_name = '';
if ($this->acl->isRegularUser()) {
$projects = $this->project->filterListByAccess($projects, $this->acl->getUserId());