diff --git a/inc/caldav-REPORT-cardquery.php b/inc/caldav-REPORT-cardquery.php index 06eff762..25cfb71b 100644 --- a/inc/caldav-REPORT-cardquery.php +++ b/inc/caldav-REPORT-cardquery.php @@ -183,7 +183,7 @@ $bound_from = $target_collection->bound_from(); if ( !$target_collection->Exists() ) { $request->DoResponse( 404 ); } -if ( ! ($target_collection->IsAddressbook() || $target_collection->IsSchedulingCollection()) ) { +if ( ! $target_collection->IsAddressbook() ) { $request->DoResponse( 403, translate('The addressbook-query report must be run against an addressbook collection') ); }