mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
bugfix: not all links were forwarded to the timesheet
This commit is contained in:
parent
32dc4fdb8b
commit
3d362fc3e5
@ -169,6 +169,11 @@
|
|||||||
$info['pm_id'] = $link['id'];
|
$info['pm_id'] = $link['id'];
|
||||||
}
|
}
|
||||||
if ($link['app'] == 'timesheet') $timesheets[] = $link['id'];
|
if ($link['app'] == 'timesheet') $timesheets[] = $link['id'];
|
||||||
|
|
||||||
|
if ($link['app'] != 'timesheet' && $link['app'] != $this->link->vfs_appname)
|
||||||
|
{
|
||||||
|
$info['extra_links'] .= '&link_app[]='.$link['app'].'&link_id[]='.$link['id'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($this->prefs['show_times'] && isset($GLOBALS['egw_info']['user']['apps']['timesheet']) && $timesheets)
|
if ($this->prefs['show_times'] && isset($GLOBALS['egw_info']['user']['apps']['timesheet']) && $timesheets)
|
||||||
{
|
{
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user