mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Fix bug in timesheet simple mode where Save & New, then selecting a different project did not change the title to match the new project
This commit is contained in:
parent
f71131d28d
commit
41bcceb44e
@ -199,7 +199,9 @@ class timesheet_ui extends timesheet_bo
|
|||||||
// set ts_title to ts_project if short viewtype (title is not editable)
|
// set ts_title to ts_project if short viewtype (title is not editable)
|
||||||
if($this->ts_viewtype == 'short')
|
if($this->ts_viewtype == 'short')
|
||||||
{
|
{
|
||||||
$this->data['ts_title'] = $this->data['ts_project'];
|
$this->data['ts_title'] = $this->data['ts_project'] = $this->data['pm_id'] ?
|
||||||
|
Link::title('projectmanager', $this->data['pm_id']) :
|
||||||
|
$this->data['ts_project'];
|
||||||
}
|
}
|
||||||
if (!$this->data['ts_title'])
|
if (!$this->data['ts_title'])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user