mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
"fixed not working multiple infolog view in addressbook (was broken after the link updates)"
This commit is contained in:
parent
46d63cc311
commit
8c58d4c3f1
@ -652,9 +652,10 @@ class soinfolog // DB-Layer
|
|||||||
$action_id = ( strpos($query['action_id'],',')!==false) ? explode(',',$query['action_id']) : $query['action_id'];
|
$action_id = ( strpos($query['action_id'],',')!==false) ? explode(',',$query['action_id']) : $query['action_id'];
|
||||||
if ($action != '')
|
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))
|
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).')';
|
$link_extra = ($action == 'sp' ? 'OR' : 'AND')." main.info_id IN (".implode(',',$links).')';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user