summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/details.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/task/details.php b/app/Template/task/details.php
index 7a99371f..e8fdf5cd 100644
--- a/app/Template/task/details.php
+++ b/app/Template/task/details.php
@@ -9,9 +9,9 @@
<strong><?= t('Reference: %s', $task['reference']) ?></strong>
</li>
<?php endif ?>
- <?php if ($task['swimlane_id']): ?>
+ <?php if (! empty($task['swimlane_name'])): ?>
<li>
- <?= t('Swimlane: %s ', $this->swimlane->getNameById($task['swimlane_id'])) ?>
+ <?= t('Swimlane: %s', $task['swimlane_name']) ?>
</li>
<?php endif ?>
<li>