Call entry2name() for titles, don't just use cache

This commit is contained in:
Nathan Gray 2011-10-31 15:47:24 +00:00
parent 0141321c76
commit 4449f65797

View File

@ -309,11 +309,7 @@ abstract class bo_merge
$title = egw_link::title($link_info['app'], $link_info['id']); $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(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))) $title = stylite_links_stream_wrapper::entry2name($link_info['app'], $link_info['id'], $title);
{
$shortcut = $link_info['app'].':';
}
$title .= ' ('.$shortcut.$link_info['id'].')';
} }
$link_titles[] = $title; $link_titles[] = $title;
} }