"backported fix from trunk: warning if user has no calendar rights"

This commit is contained in:
Ralf Becker 2009-06-29 15:36:31 +00:00
parent 995cc63822
commit 7cd2fba856

View File

@ -963,7 +963,7 @@ class addressbook_bo extends addressbook_so
*/ */
function read_calendar($ids,$extra_title=true) function read_calendar($ids,$extra_title=true)
{ {
if (!$GLOBALS['egw_info']['user']['apps']['calendar']) return null; if (!$GLOBALS['egw_info']['user']['apps']['calendar']) return array();
$uids = array(); $uids = array();
foreach($ids as $id) foreach($ids as $id)