Fix dropdown menu item that should be displayed

This commit is contained in:
Frederic Guillot 2016-05-04 22:57:05 -04:00
parent d5c95e8240
commit 65921f81ac
1 changed files with 1 additions and 1 deletions

View File

@ -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'])) ?>