mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
read_calendar should return an array, as it is expected, and described in the functions description
This commit is contained in:
parent
81e0a77461
commit
c0baa83dbe
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user