From 94b6418fd3cd7c6b2298009c408ae986d759d421 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 25 Oct 2007 15:20:55 +1300 Subject: [PATCH] When class is NULL we should consider it to be PUBLIC. --- inc/caldav-GET.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-GET.php b/inc/caldav-GET.php index 575bc203..44ccd728 100644 --- a/inc/caldav-GET.php +++ b/inc/caldav-GET.php @@ -15,7 +15,7 @@ if ( ! $request->AllowedTo('read') ) { } $privacy_clause = ""; if ( ! $request->AllowedTo('all') ) { - $privacy_clause = "AND calendar_item.class != 'PRIVATE'"; + $privacy_clause = "AND (calendar_item.class != 'PRIVATE' OR calendar_item.class IS NULL) "; } if ( $request->IsCollection() ) {