From ca3a660532b1fd850b58b5c9502e2fc31718f0e7 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 2 Aug 2017 11:14:31 -0600 Subject: [PATCH] Allow group pseudo-distribution lists --- calendar/inc/class.calendar_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index 6e658bd8e9..1d74373c3f 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -382,7 +382,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);