Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Commit

Permalink
Fixes #1009: add LAST-MODIFIED to calendardata when it is absent
Browse files Browse the repository at this point in the history
  • Loading branch information
arno01 committed Jan 2, 2016
1 parent 3b83dcc commit 4f7a21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajax/event/move.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4f7a21c

Please sign in to comment.