Caldav: fix NullPointerException on addressbook request

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1888 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-01-31 22:59:25 +00:00
parent 172595eda4
commit 8bee35ad29
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ public class CaldavConnection extends AbstractConnection {
if (request.getDepth() == 1) {
if (folder.isContact()) {
appendContactsResponses(response, request, contacts);
} else {
} else if (folder.isCalendar() || folder.isTask()) {
appendEventsResponses(response, request, events);
// Send sub folders for multi-calendar support under iCal, except for public folders
if (folderList != null) {