diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index 09fb4cb195..fe40af292f 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -1094,8 +1094,8 @@ class infolog_bo { return $info; } - return !empty($info['info_subject']) ? $info['info_subject'] : - self::subject_from_des($info['info_descr']); + $title = !empty($info['info_subject']) ? $info['info_subject'] :self::subject_from_des($info['info_descr']); + return $title.($GLOBALS['egw_info']['user']['preferences']['infolog']['show_id']?' (#'.$info['info_id'].')':''); } /**