From 06f8f7456d357a7f0035b7f9bd21cdd9e4b45866 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 13 Dec 2019 09:42:39 -0700 Subject: [PATCH] * Timesheet: Fix project link was missing when changing project after clicking "Save & New" --- timesheet/inc/class.timesheet_ui.inc.php | 1 + 1 file changed, 1 insertion(+) 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']); } }