Skip to content

Commit

Permalink
Fix passing start date of recurring tasks via ajax.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 2, 2014
1 parent bc3bbb3 commit f0f5654
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nag/lib/Task.php
Expand Up @@ -1008,9 +1008,8 @@ public function toJson($full = false, $time_format = 'H:i')
if ($this->due && ($due = $this->getNextDue())) {
$json->du = $due->toJson();
}
if ($this->start) {
$date = new Horde_Date($this->start);
$json->s = $date->toJson();
if ($this->start && ($start = $this->getNextStart())) {
$json->s = $start->toJson();
}
$json->pr = (int)$this->priority;
if ($this->recurs()) {
Expand Down

0 comments on commit f0f5654

Please sign in to comment.