summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-01 16:44:55 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-11-01 16:44:55 -0400
commitdb8c8c34dc9dc4c2348ec992241a5d5203e2d4eb (patch)
treef1247747a885b26f79cc3acab018262e89cd30a4
parentd040a6c5f60749bc03b266f9a343b889faddf1df (diff)
Fix PHP notice for a template
-rw-r--r--app/Template/notification_footer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/notification_footer.php b/app/Template/notification_footer.php
index 533621f4..67039e86 100644
--- a/app/Template/notification_footer.php
+++ b/app/Template/notification_footer.php
@@ -1,6 +1,6 @@
<hr/>
Kanboard
-<?php if ($application_url): ?>
+<?php if (isset($application_url) && ! empty($application_url)): ?>
- <a href="<?= $application_url.'?controller=task&action=show&task_id='.$task['id'] ?>"><?= t('view the task on Kanboard') ?></a>.
<?php endif ?>