From e2ee71f10a0c5c9b0e12076b4b8c3a99b8916934 Mon Sep 17 00:00:00 2001 From: mguessan Date: Tue, 6 Sep 2011 21:52:28 +0000 Subject: [PATCH] Caldav: fix regression git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1785 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/caldav/CaldavConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/davmail/caldav/CaldavConnection.java b/src/java/davmail/caldav/CaldavConnection.java index dce4faf4..372e5660 100644 --- a/src/java/davmail/caldav/CaldavConnection.java +++ b/src/java/davmail/caldav/CaldavConnection.java @@ -676,7 +676,7 @@ public class CaldavConnection extends AbstractConnection { CaldavResponse response = new CaldavResponse(HttpStatus.SC_MULTI_STATUS); response.startMultistatus(); // ical calendar folder proppatch - if (hasIcalProperties) { + if (request.hasProperty("calendar-color") || request.hasProperty("calendar-order")) { response.startPropstat(); if (request.hasProperty("calendar-color")) { response.appendProperty("x1:calendar-color", "x1=\"http://apple.com/ns/ical/\"", null);