mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
fixed new calendar-column code to NOT procduce a sql error if selecting account addressbook and having accounts in LDAP
This commit is contained in:
parent
dec28cbe89
commit
63a9c2debb
@ -1949,8 +1949,10 @@ $readonlys['button[vcard]'] = true;
|
|||||||
$uids = array();
|
$uids = array();
|
||||||
foreach($ids as $id)
|
foreach($ids as $id)
|
||||||
{
|
{
|
||||||
$uids[] = 'c'.$id;
|
if (is_numeric($id)) $uids[] = 'c'.$id;
|
||||||
}
|
}
|
||||||
|
if (!$uids) return array();
|
||||||
|
|
||||||
include_once(EGW_INCLUDE_ROOT.'/calendar/inc/class.bocal.inc.php');
|
include_once(EGW_INCLUDE_ROOT.'/calendar/inc/class.bocal.inc.php');
|
||||||
$bocal = new bocal;
|
$bocal = new bocal;
|
||||||
$events = $bocal->search(array(
|
$events = $bocal->search(array(
|
||||||
|
Loading…
Reference in New Issue
Block a user