mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
When creating an infolog from other entries, only set primary contact if there's only one entry
This commit is contained in:
parent
5edd9b902a
commit
0142bcb50c
@ -1968,8 +1968,12 @@ class infolog_ui
|
||||
$pm_links = array($action_id);
|
||||
default: // to allow other apps to participate
|
||||
$content['info_subject'] = egw_link::title($action, $id);
|
||||
$content['info_contact'] = $action.':'.$action_id;
|
||||
foreach (explode(',', $action_id) as $n => $id)
|
||||
$action_ids = explode(',',$action_id);
|
||||
if(count($action_ids) == 1)
|
||||
{
|
||||
$content['info_contact'] = $action.':'.$action_id;
|
||||
}
|
||||
foreach ($action_ids as $n => $id)
|
||||
{
|
||||
egw_link::link('infolog', $content['link_to']['to_id'], $action, $id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user