From c0baa83dbe82265d92a3011419c776dd728bfdaf Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 1 Apr 2009 10:59:56 +0000 Subject: [PATCH] read_calendar should return an array, as it is expected, and described in the functions description --- addressbook/inc/class.addressbook_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_bo.inc.php b/addressbook/inc/class.addressbook_bo.inc.php index a7d8afe997..fc851fb1bc 100755 --- a/addressbook/inc/class.addressbook_bo.inc.php +++ b/addressbook/inc/class.addressbook_bo.inc.php @@ -963,7 +963,7 @@ class addressbook_bo extends addressbook_so */ 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(); foreach($ids as $id)