diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-02-16 14:21:36 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-02-16 14:21:36 -0500 |
commit | de739b22befafc91bcd43c1d5963330a32ea2ca3 (patch) | |
tree | 3fd34dd805f94f6803116fd57ca4815cef0b2862 /app | |
parent | 0b9e7e50263769464f26710e2c9fdab2e1cd3b56 (diff) | |
parent | 36d80c59411e8406b123f7364024e03f33e9f4e0 (diff) |
Merge pull-request #1847
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/board/tooltip_subtasks.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/board/tooltip_subtasks.php b/app/Template/board/tooltip_subtasks.php index 65b7ce4d..dc076d26 100644 --- a/app/Template/board/tooltip_subtasks.php +++ b/app/Template/board/tooltip_subtasks.php @@ -5,7 +5,9 @@ <?= $this->subtask->toggleStatus($subtask, $task['project_id']) ?> </td> <td> - <?= $this->e($subtask['username'] ?: $this->user->getFullname($subtask)) ?> + <?php if (! empty($subtask['username'])): ?> + <?= $this->e($subtask['name'] ?: $subtask['username']) ?> + <?php endif ?> </td> </tr> <?php endforeach ?> |