Fix regression in PR #2439

This commit is contained in:
Frederic Guillot
2016-07-27 18:26:56 -04:00
parent 8e1c216130
commit 837173cf93

View File

@@ -43,7 +43,7 @@
)) ?>
<?php endif ?>
<?php if(!empty($files)): ?>
<?php if (!empty($files) || !empty($images)): ?>
<?= $this->hook->render('template:task:show:before-attachments', array('task' => $task, 'project' => $project)) ?>
<?= $this->render('task_file/show', array(
'task' => $task,