mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-20 04:33:34 +00:00
address book queries are only valid on addressbooks.
This commit is contained in:
parent
0d47b81e48
commit
c581e3a0f2
@ -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') );
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user