mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
Note TODO item.
This commit is contained in:
parent
afef5f231d
commit
8c2e2b3150
@ -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 ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user