forked from extern/egroupware
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)
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user