mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +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
c1c8f22b8f
commit
f01ab4e665
@ -1963,8 +1963,12 @@ class infolog_ui
|
||||
$pm_links = array($action_id);
|
||||
default: // to allow other apps to participate
|
||||
$content['info_subject'] = egw_link::title($action, $id);
|
||||
$action_ids = explode(',',$action_id);
|
||||
if(count($action_ids) == 1)
|
||||
{
|
||||
$content['info_contact'] = $action.':'.$action_id;
|
||||
foreach (explode(',', $action_id) as $n => $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