summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-04 22:57:05 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-04 22:57:05 -0400
commit65921f81ac04d6bca5271b1c6544c8bdc9cfb331 (patch)
treed98d7989db7c4ee6233f3639b61589c5c6c5bba9 /app/Template/task
parentd5c95e8240639975f61f726e9722900a8d54611f (diff)
Fix dropdown menu item that should be displayed
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/dropdown.php2
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'])) ?>