summaryrefslogtreecommitdiff
path: root/app/Template/header.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-07-24 13:55:35 -0400
committerFrederic Guillot <fred@kanboard.net>2016-07-24 13:55:35 -0400
commit9d6715ddc01586e524ef433732d649e17f1d88b5 (patch)
treeaf9b72c203d68bdaac3734634e49031d7ff8dc78 /app/Template/header.php
parenta3b4b25df2e283f71e74be38ff225c2720d90f4a (diff)
Improve project page titles
Diffstat (limited to 'app/Template/header.php')
-rw-r--r--app/Template/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/header.php b/app/Template/header.php
index f99f1031..a2b3fcb3 100644
--- a/app/Template/header.php
+++ b/app/Template/header.php
@@ -5,7 +5,7 @@
<?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
</span>
<span class="title">
- <?php if (isset($project) && ! empty($project)): ?>
+ <?php if (! empty($project) && ! empty($task)): ?>
<?= $this->url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?>
<?php else: ?>
<?= $this->text->e($title) ?>