summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Template/task/sidebar.php2
-rw-r--r--app/Template/user/sidebar.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/sidebar.php b/app/Template/task/sidebar.php
index d1fab13e..951c5095 100644
--- a/app/Template/task/sidebar.php
+++ b/app/Template/task/sidebar.php
@@ -28,6 +28,6 @@
<?= $this->url->link(t('External links'), 'TaskExternalLink', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
</li>
- <?= $this->hook->render('template:task:sidebar') ?>
+ <?= $this->hook->render('template:task:sidebar', array('task' => $task)) ?>
</ul>
</div>
diff --git a/app/Template/user/sidebar.php b/app/Template/user/sidebar.php
index 7e367443..b128ca28 100644
--- a/app/Template/user/sidebar.php
+++ b/app/Template/user/sidebar.php
@@ -24,7 +24,7 @@
</li>
<?php endif ?>
- <?= $this->hook->render('template:user:sidebar:information') ?>
+ <?= $this->hook->render('template:user:sidebar:information', array('user' => $user)) ?>
</ul>
<h2><?= t('Actions') ?></h2>