summaryrefslogtreecommitdiff
path: root/app/Template/notification/footer.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/notification/footer.php')
-rw-r--r--app/Template/notification/footer.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/notification/footer.php b/app/Template/notification/footer.php
index b057a60c..663a591a 100644
--- a/app/Template/notification/footer.php
+++ b/app/Template/notification/footer.php
@@ -2,6 +2,8 @@
Kanboard
<?php if ($this->app->config('application_url') != ''): ?>
- - <?= $this->url->absoluteLink(t('view the task on Kanboard'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ <?php if (isset($task['id'])): ?>
+ - <?= $this->url->absoluteLink(t('view the task on Kanboard'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>
+ <?php endif ?>
- <?= $this->url->absoluteLink(t('view the board on Kanboard'), 'BoardViewController', 'show', array('project_id' => $task['project_id'])) ?>
<?php endif ?>