mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +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
51d898efb6
commit
a52fd869fd
@ -199,7 +199,9 @@ class timesheet_ui extends timesheet_bo
|
||||
// set ts_title to ts_project if short viewtype (title is not editable)
|
||||
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'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user