show infolog id in linktitle too (,if show_id is switched on)

This commit is contained in:
Klaus Leithoff 2010-08-23 11:47:12 +00:00
parent 30c1634b9c
commit 6cc8c9d4a3

View File

@ -1090,8 +1090,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'].')':'');
}
/**