fix assignee name for subtask

This commit is contained in:
Timo Litzbarski 2016-02-16 08:33:35 +00:00
parent 3a44db6029
commit 36d80c5941
1 changed files with 3 additions and 1 deletions

View File

@ -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 ?>