bugfix: not all links were forwarded to the timesheet

This commit is contained in:
Ralf Becker 2006-05-17 05:57:03 +00:00
parent 32dc4fdb8b
commit 3d362fc3e5
2 changed files with 9 additions and 2 deletions

View File

@ -169,6 +169,11 @@
$info['pm_id'] = $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)
{

File diff suppressed because one or more lines are too long