diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index 6847ec7064..30d9af68c9 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -239,6 +239,7 @@ class timesheet_ui extends timesheet_bo if ($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']); } }