"fixed SQL error \"unknown column 'id'\" in CalDAV reported by Christoph Kaulich on the German list"

This commit is contained in:
Ralf Becker 2008-11-01 10:37:53 +00:00
parent 5cf4b6eedc
commit 3f760048c6

View File

@ -825,7 +825,7 @@ class calendar_ical extends calendar_boupdate
continue; // participants without email AND CN --> ignore it
}
elseif ((list($data) = ExecMethod2('addressbook.addressbook_bo.search',$searcharray,
'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'),'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'];
}