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

This commit is contained in:
Klaus Leithoff 2010-08-23 11:44:30 +00:00
parent 442bdbe564
commit 3597959259

View File

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