From 12f7232ee24ed152f6bc3b1e089d6f4d5ceaab42 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 31 Mar 2008 17:33:32 +0000 Subject: [PATCH] an other fix for multiple infologs from addressbook --- infolog/inc/class.soinfolog.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infolog/inc/class.soinfolog.inc.php b/infolog/inc/class.soinfolog.inc.php index 0da306cfa9..db93260fb2 100644 --- a/infolog/inc/class.soinfolog.inc.php +++ b/infolog/inc/class.soinfolog.inc.php @@ -664,10 +664,9 @@ class soinfolog // DB-Layer 'event' => 'calendar' ); $action = isset($action2app[$query['action']]) ? $action2app[$query['action']] : $query['action']; - $action_id = ( strpos($query['action_id'],',')!==false) ? explode(',',$query['action_id']) : $query['action_id']; if ($action != '') { - $links = solink::get_links($action=='sp'?'infolog':$action,$action_id,'infolog'); + $links = solink::get_links($action=='sp'?'infolog':$action,explode(',',$query['action_id']),'infolog'); if (count($links)) { $links = call_user_func_array('array_merge',$links); // flatten the array