From f6a28b75502c3cb8c260bf5050dc9baf5e893254 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 3 Nov 2011 14:31:01 +0000 Subject: [PATCH] Remove ID, if already in title (eg Infolog) --- etemplate/inc/class.bo_merge.inc.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/etemplate/inc/class.bo_merge.inc.php b/etemplate/inc/class.bo_merge.inc.php index 4f75fa7454..ea6d926aed 100644 --- a/etemplate/inc/class.bo_merge.inc.php +++ b/etemplate/inc/class.bo_merge.inc.php @@ -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; }