Remove ID, if already in title (eg Infolog)

This commit is contained in:
Nathan Gray 2011-11-03 14:31:01 +00:00
parent c7664f5850
commit f6a28b7550

View File

@ -310,11 +310,7 @@ abstract class bo_merge
$title = egw_link::title($link_info['app'], $link_info['id']);
if(class_exists('stylite_links_stream_wrapper') && $link_info['app'] != egw_link::VFS_APPNAME)
{
if (!($shortcut = array_search($link_info['app'],stylite_links_stream_wrapper::$shortcut2app)))
{
$shortcut = $link_info['app'].':';
}
$title .= ' ('.$shortcut.$link_info['id'].')';
$title = stylite_links_stream_wrapper::entry2name($link_info['app'], $link_info['id'], $title);
}
$link_titles[] = $title;
}