fix for "Column 'account_id' in field list is ambiguous" ERROR while importing events

This commit is contained in:
Klaus Leithoff 2009-07-09 08:17:36 +00:00
parent 24513a3161
commit 48d3614d6c

View File

@ -829,7 +829,7 @@ class calendar_ical extends calendar_boupdate
continue; // participants without email AND CN --> ignore it
}
elseif ((list($data) = ExecMethod2('addressbook.addressbook_bo.search',$searcharray,
array('id','account_id','n_fn'),'account_id IS NOT NULL DESC, n_fn IS NOT NULL DESC','','',false,'OR')))
array('id','account_id','n_fn'),'egw_addressbook.account_id IS NOT NULL DESC, n_fn IS NOT NULL DESC','','',false,'OR')))
{
$uid = $data['account_id'] ? (int)$data['account_id'] : 'c'.$data['id'];
}