read_calendar should return an array, as it is expected, and described in the functions description

This commit is contained in:
Klaus Leithoff 2009-04-01 10:59:56 +00:00
parent 81e0a77461
commit c0baa83dbe

View File

@ -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)