Skip to content

Commit

Permalink
Ensure we always have a start date for recurring tasks.
Browse files Browse the repository at this point in the history
Bug: 13636
  • Loading branch information
mrubinsk committed Oct 21, 2014
1 parent 839dafb commit d781318
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nag/lib/Task.php
Expand Up @@ -1299,6 +1299,8 @@ public function toASTask(array $options = array())
if (!empty($this->start)) {
$message->utcstartdate = new Horde_Date($this->start);
$message->startdate = new Horde_Date($this->start, 'UTC');
} elseif ($this->recurs()) {
$message->startdate = new Horde_Date(time());
}

/* Priority */
Expand Down

0 comments on commit d781318

Please sign in to comment.