diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-04 22:57:05 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-04 22:57:05 -0400 |
commit | 65921f81ac04d6bca5271b1c6544c8bdc9cfb331 (patch) | |
tree | d98d7989db7c4ee6233f3639b61589c5c6c5bba9 /app/Template/task/dropdown.php | |
parent | d5c95e8240639975f61f726e9722900a8d54611f (diff) |
Fix dropdown menu item that should be displayed
Diffstat (limited to 'app/Template/task/dropdown.php')
-rw-r--r-- | app/Template/task/dropdown.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/task/dropdown.php b/app/Template/task/dropdown.php index 9771b241..4be69851 100644 --- a/app/Template/task/dropdown.php +++ b/app/Template/task/dropdown.php @@ -1,7 +1,7 @@ <div class="dropdown"> <a href="#" class="dropdown-menu">#<?= $task['id'] ?></a> <ul> - <?php if (isset($task['date_started']) && empty($task['date_started'])): ?> + <?php if (array_key_exists('date_started', $task) && empty($task['date_started'])): ?> <li> <i class="fa fa-play fa-fw"></i> <?= $this->url->link(t('Set automatically the start date'), 'taskmodification', 'start', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> |