diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-06-06 13:33:50 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-06-06 13:35:02 -0700 |
commit | bce396c1ab239278d3584942b615279d2bdb180f (patch) | |
tree | ef501ca9471f32d2b7cbb8d0c1a104fa9cd9bd54 | |
parent | 2a299d33d1e8e6b1fe31cafbf4b9c0a12d89f99a (diff) |
Fix bad search and replace in old commit
Commit eafaa4b03770a73080520952112905eb8135a62f
-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> |