diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-18 22:33:24 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-18 22:33:24 -0400 |
commit | 9ba3daca66a0dc302aa4c2175f7ec814a5f8dca0 (patch) | |
tree | bd81a41e4d3a4c41e53900ca78e46f8d9391cda5 /app/Template/task/details.php | |
parent | 308dda3ac4714b26d8fbe5566ec88abbfbeadf78 (diff) |
Improve pull-request #907
Diffstat (limited to 'app/Template/task/details.php')
-rw-r--r-- | app/Template/task/details.php | 4 |
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> |