diff --git a/lib/Db/Card.php b/lib/Db/Card.php index 746ea465c..8c8a4c16e 100644 --- a/lib/Db/Card.php +++ b/lib/Db/Card.php @@ -150,7 +150,7 @@ class Card extends RelationalEntity { $date = new DateTime(); $date->setTimestamp($this->getLastModified()); $event->STATUS = 'COMPLETED'; - $event->COMPLETED = $this->getDone() ? $this->$this->getDone() : $this->getArchived(); + $event->COMPLETED = $this->getDone() ? $this->getDone() : $this->getArchived(); } else { $event->STATUS = 'NEEDS-ACTION'; }