forked from extern/egroupware
fix for bug [ 1445439 ] Timesheet links to many projects instead of one
This commit is contained in:
parent
ad2083d1a6
commit
6fa2602bfb
@ -168,7 +168,7 @@ class uitimesheet extends botimesheet
|
|||||||
'view' => $view,
|
'view' => $view,
|
||||||
$tabs => $content[$tabs],
|
$tabs => $content[$tabs],
|
||||||
'link_to' => array(
|
'link_to' => array(
|
||||||
'to_id' => $this->data['ts_id'] ? $this->data['ts_id'] : $content['link_to']['to_id'],
|
'to_id' => $this->data['ts_id'] || $button == 'save_new' ? $this->data['ts_id'] : $content['link_to']['to_id'],
|
||||||
'to_app' => TIMESHEET_APP,
|
'to_app' => TIMESHEET_APP,
|
||||||
),
|
),
|
||||||
'js' => "<script>\n$js\n</script>\n",
|
'js' => "<script>\n$js\n</script>\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user