Merge pull-request #1847

This commit is contained in:
Frederic Guillot 2016-02-16 14:21:36 -05:00
commit de739b22be
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 ?>