fixed wrong parameter for egw_link::get_links() $only_app, causing extra_links, eg. projectmanager link not to work, if links are not already supplied, like in infolog view mode

This commit is contained in:
Ralf Becker 2010-11-17 13:08:01 +00:00
parent e68255167e
commit 3a119867b7

View File

@ -181,7 +181,7 @@ class infolog_ui
if (!$show_links) $show_links = $this->prefs['show_links'];
if (($show_links != 'none' && $show_links != 'no_describtion' ||
$this->prefs['show_times'] || isset($GLOBALS['egw_info']['user']['apps']['timesheet'])) &&
(isset($info['links']) || ($info['links'] = egw_link::get_links('infolog',$info['info_id'],'link_lastmod DESC',true))))
(isset($info['links']) || ($info['links'] = egw_link::get_links('infolog',$info['info_id'],'','link_lastmod DESC',true))))
{
$timesheets = array();
foreach ($info['links'] as $link)