From 0bea53b22d2752e11764350008db7a1a55b57044 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 31 Jul 2012 16:15:27 +0000 Subject: [PATCH] fixed historylog widget to correct display custom fields of type link to application --- etemplate/inc/class.historylog_widget.inc.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.historylog_widget.inc.php b/etemplate/inc/class.historylog_widget.inc.php index bc913b7e24..6155a3aaab 100644 --- a/etemplate/inc/class.historylog_widget.inc.php +++ b/etemplate/inc/class.historylog_widget.inc.php @@ -199,7 +199,14 @@ class historylog_widget if(!is_array($cf_data['values']) || !$cf_data['values']) { - self::$status_widgets['#'.$cf_name] = $cf_data['type'] != 'text' ? $cf_data['type'] : 'label'; + if (isset($GLOBALS['egw_info']['apps'][$cf_data['type']])) + { + self::$status_widgets['#'.$cf_name] = 'link-entry:'.$cf_data['type']; + } + else + { + self::$status_widgets['#'.$cf_name] = $cf_data['type'] != 'text' ? $cf_data['type'] : 'label'; + } } elseif($cf_data['values']['@']) {