mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
* Timesheet: Fix project link was missing when changing project after clicking "Save & New"
This commit is contained in:
parent
20766607f5
commit
06f8f7456d
@ -239,6 +239,7 @@ class timesheet_ui extends timesheet_bo
|
|||||||
if ($this->data['old_pm_id'])
|
if ($this->data['old_pm_id'])
|
||||||
{
|
{
|
||||||
Link::unlink2(0,TIMESHEET_APP,$content['link_to']['to_id'],0,'projectmanager',$this->data['old_pm_id']);
|
Link::unlink2(0,TIMESHEET_APP,$content['link_to']['to_id'],0,'projectmanager',$this->data['old_pm_id']);
|
||||||
|
unset($content['link_to']['to_id']['projectmanager:'.$this->data['old_pm_id']]);
|
||||||
unset($this->data['old_pm_id']);
|
unset($this->data['old_pm_id']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user