Allow group pseudo-distribution lists

This commit is contained in:
nathangray 2017-08-02 11:14:31 -06:00
parent cc594af822
commit 02f0936f9c

View File

@ -377,7 +377,7 @@ class calendar_bo
{
$contact_list = array();
$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));
$lists = $contacts->search('',true,'','','',false,'AND',false,$options);