diff options
author | Timo Litzbarski <tili2@gmx.de> | 2016-02-16 08:33:35 +0000 |
---|---|---|
committer | Timo Litzbarski <tili2@gmx.de> | 2016-02-16 08:33:35 +0000 |
commit | 36d80c59411e8406b123f7364024e03f33e9f4e0 (patch) | |
tree | 61be3367e07eb5c5b06ea27bed8920fc25d89d51 | |
parent | 3a44db6029fb2d833d75fbc70c424e3f9cb85d82 (diff) |
fix assignee name for subtask
-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 ?> |