diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Template/task_internal_link/table.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/task_internal_link/table.php b/app/Template/task_internal_link/table.php index 6a11be60..7f604bdf 100644 --- a/app/Template/task_internal_link/table.php +++ b/app/Template/task_internal_link/table.php @@ -64,11 +64,11 @@ </td> <td> <?php if (! empty($link['task_time_spent'])): ?> - <?= t('%sh spent', n($subtask['time_spent'])) ?> + <?= t('%sh spent', n($link['task_time_spent'])) ?> <?php endif ?> - <?php if (! empty($subtask['time_spent']) && ! empty($subtask['time_estimated'])): ?>/<?php endif ?> + <?php if (! empty($link['task_time_spent']) && ! empty($link['task_time_estimated'])): ?>/<?php endif ?> <?php if (! empty($link['task_time_estimated'])): ?> - <?= t('%sh estimated', n($subtask['time_estimated'])) ?> + <?= t('%sh estimated', n($link['task_time_estimated'])) ?> <?php endif ?> </td> </tr> |