From 4f7a21ca8f657a996b3a92914f3e39cd55fc50ba Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Thu, 31 Dec 2015 10:21:06 +0100 Subject: [PATCH] Fixes #1009: add LAST-MODIFIED to calendardata when it is absent --- ajax/event/move.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajax/event/move.php b/ajax/event/move.php index fc969d4a0..18e4c1baf 100644 --- a/ajax/event/move.php +++ b/ajax/event/move.php @@ -35,7 +35,7 @@ $now = new DateTime('now'); $now->setTimeZone(new \DateTimeZone('UTC')); -$vevent->__get('LAST-MODIFIED')->setDateTime($now); +$vevent->__set('LAST-MODIFIED', clone $now); $vevent->DTSTAMP = $now; try {