From 8c58d4c3f15d91e4e20600cef8985b7e2ea618ba Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 31 Mar 2008 14:39:41 +0000 Subject: [PATCH] "fixed not working multiple infolog view in addressbook (was broken after the link updates)" --- infolog/inc/class.soinfolog.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.soinfolog.inc.php b/infolog/inc/class.soinfolog.inc.php index b66da54e99..ebdc71ad3f 100644 --- a/infolog/inc/class.soinfolog.inc.php +++ b/infolog/inc/class.soinfolog.inc.php @@ -652,9 +652,10 @@ class soinfolog // DB-Layer $action_id = ( strpos($query['action_id'],',')!==false) ? explode(',',$query['action_id']) : $query['action_id']; if ($action != '') { - $links = egw_link::get_links($action=='sp'?'infolog':$action,$action_id,'infolog'); + $links = solink::get_links($action=='sp'?'infolog':$action,$action_id,'infolog'); if (count($links)) { + $links = call_user_func_array('array_merge',$links); // flatten the array $link_extra = ($action == 'sp' ? 'OR' : 'AND')." main.info_id IN (".implode(',',$links).')'; } }