Skip to content

Commit

Permalink
Fix undefined variable: user
Browse files Browse the repository at this point in the history
resolve #10
  • Loading branch information
kenlog authored Jan 1, 2021
1 parent 8b47b18 commit 0c1382c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Template/layout/header/creation_dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@
</li>
<li>
<i class="fa fa-th" aria-hidden="true"></i>
<?= $this->url->link(t('Overview'), 'DashboardController', 'show', array('user_id' => $user['id'])) ?>
<?= $this->url->link(t('Overview'), 'DashboardController', 'show') ?>
</li>
<li>
<i class="fa fa-clone" aria-hidden="true"></i>
<?= $this->url->link(t('My projects'), 'DashboardController', 'projects', array('user_id' => $user['id'])) ?>
<?= $this->url->link(t('My projects'), 'DashboardController', 'projects') ?>
</li>
<li>
<i class="fa fa-tasks" aria-hidden="true"></i>
<?= $this->url->link(t('My tasks'), 'DashboardController', 'tasks', array('user_id' => $user['id'])) ?>
<?= $this->url->link(t('My tasks'), 'DashboardController', 'tasks') ?>
</li>
<li>
<i class="fa fa-sliders" aria-hidden="true"></i>
<?= $this->url->link(t('My subtasks'), 'DashboardController', 'subtasks', array('user_id' => $user['id'])) ?>
<?= $this->url->link(t('My subtasks'), 'DashboardController', 'subtasks') ?>
</li>
</ul>
</div>

0 comments on commit 0c1382c

Please sign in to comment.