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

This commit is contained in:
Klaus Leithoff 2010-08-23 11:46:33 +00:00
parent c37862f6f4
commit b2a0d2999d

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