From 60f372c7496b2786ef2d1bc14389fb53c11af80f Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sun, 8 Jul 2012 23:39:26 +1200 Subject: [PATCH] Allow calendar-multiget & query reports to return resource data. --- inc/caldav-REPORT.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/caldav-REPORT.php b/inc/caldav-REPORT.php index 5eff90fb..57a5c332 100644 --- a/inc/caldav-REPORT.php +++ b/inc/caldav-REPORT.php @@ -224,6 +224,9 @@ if ( $target->IsExternal() ) { update_external ( $target ); } +// These reports are always allowed to see the resource_data because they are special +$c->sync_resource_data_ok = true; + if ( $xmltree->GetNSTag() == "urn:ietf:params:xml:ns:caldav:calendar-query" ) { $calquery = $xmltree->GetPath("/urn:ietf:params:xml:ns:caldav:calendar-query/*"); include("caldav-REPORT-calquery.php"); -- 2.11.4.GIT