diff options
-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 ?> |