From afc6bc3b999321d26ce28f63b5279228b715d208 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 9 Jul 2009 08:33:25 +0000 Subject: [PATCH] fix for "Column 'account_id' in field list is ambiguous" ERROR while importing events 2nd.go --- calendar/inc/class.calendar_ical.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 4b79a488cf..63e22cb621 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -888,7 +888,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'),'egw_addressbook.account_id IS NOT NULL DESC, n_fn IS NOT NULL DESC','','',false,'OR'))) + array('id','egw_addressbook.account_id as 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']; }