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:09:20 +00:00
parent 9da1ddf87b
commit e128716435

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']))))
(isset($info['links']) || ($info['links'] = egw_link::get_links('infolog',$info['info_id'],'','link_lastmod DESC',true))))
{
$timesheets = array();
foreach ($info['links'] as $link)