From 110ee2844728271becce635b5d6ace41ca07b1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 14 Nov 2023 10:57:22 +0100 Subject: [PATCH] fix: Properly get done state for dav MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Db/Card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }