mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
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:
parent
e68255167e
commit
3a119867b7
@ -181,7 +181,7 @@ class infolog_ui
|
|||||||
if (!$show_links) $show_links = $this->prefs['show_links'];
|
if (!$show_links) $show_links = $this->prefs['show_links'];
|
||||||
if (($show_links != 'none' && $show_links != 'no_describtion' ||
|
if (($show_links != 'none' && $show_links != 'no_describtion' ||
|
||||||
$this->prefs['show_times'] || isset($GLOBALS['egw_info']['user']['apps']['timesheet'])) &&
|
$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();
|
$timesheets = array();
|
||||||
foreach ($info['links'] as $link)
|
foreach ($info['links'] as $link)
|
||||||
|
Loading…
Reference in New Issue
Block a user