Allow group pseudo-distribution lists

This commit is contained in:
nathangray 2017-08-02 11:14:31 -06:00
parent 2d8fa6fe79
commit ca3a660532

View File

@ -382,7 +382,7 @@ class calendar_bo
{ {
$contact_list = array(); $contact_list = array();
$contacts = new Api\Contacts(); $contacts = new Api\Contacts();
if($contacts->check_list((int)substr($id,1), ACL::READ)) if($contacts->check_list((int)substr($id,1), ACL::READ) || (int)substr($id,1) < 0)
{ {
$options = array('list' => substr($id,1)); $options = array('list' => substr($id,1));
$lists = $contacts->search('',true,'','','',false,'AND',false,$options); $lists = $contacts->search('',true,'','','',false,'AND',false,$options);