Restore pm_id & project merge markers

This commit is contained in:
Nathan Gray 2011-12-22 16:21:34 +00:00
parent a873cf93f0
commit a07cc48066

View File

@ -114,6 +114,14 @@ class infolog_merge extends bo_merge
$array['attachments'] = $this->get_links('infolog', $id, egw_link::VFS_APPNAME);
$array['links_attachments'] = $this->get_links('infolog', $id);
// Check for linked project ID
$links = egw_link::get_links('infolog', $id, 'projectmanager');
foreach($links as $link_id => $app_id) {
$array['pm_id'] = $app_id;
$array['project'] = egw_link::title('projectmanager', $app_id);
break;
}
// Add markers
foreach($array as $key => &$value)
{