fix: Properly get done state for dav
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -150,7 +150,7 @@ class Card extends RelationalEntity {
|
|||||||
$date = new DateTime();
|
$date = new DateTime();
|
||||||
$date->setTimestamp($this->getLastModified());
|
$date->setTimestamp($this->getLastModified());
|
||||||
$event->STATUS = 'COMPLETED';
|
$event->STATUS = 'COMPLETED';
|
||||||
$event->COMPLETED = $this->getDone() ? $this->$this->getDone() : $this->getArchived();
|
$event->COMPLETED = $this->getDone() ? $this->getDone() : $this->getArchived();
|
||||||
} else {
|
} else {
|
||||||
$event->STATUS = 'NEEDS-ACTION';
|
$event->STATUS = 'NEEDS-ACTION';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user