mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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();
|
||||
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');
|
||||
$bocal = new bocal;
|
||||
$events = $bocal->search(array(
|
||||
|
Loading…
Reference in New Issue
Block a user