mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Call entry2name() for titles, don't just use cache
This commit is contained in:
parent
0141321c76
commit
4449f65797
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user