From 8c2e2b315045851e46a3f25b29679e26be12a800 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 15 Feb 2008 07:09:01 +1300 Subject: [PATCH] Note TODO item. --- inc/caldav-GET.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/caldav-GET.php b/inc/caldav-GET.php index d95c223b..6bf6b429 100644 --- a/inc/caldav-GET.php +++ b/inc/caldav-GET.php @@ -37,6 +37,7 @@ if ( $qry->Exec("GET") && $qry->rows == 1 ) { $request->DoResponse( 200, ($request->method == "HEAD" ? "" : $event->caldav_data), "text/calendar" ); } else if ( $qry->rows < 1 ) { + /** TODO: If we are attempting to read a collection we should return an empty VCALENDAR rather than a 404 */ $request->DoResponse( 404, translate("Calendar Resource Not Found.") ); } else if ( $qry->rows > 1 ) {