From f77d786387eec190f153b2df0abaea9cc2b3bc38 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 18 Jan 2017 08:18:15 -0700 Subject: [PATCH] Fix pm_id sometimes gets lost when saving infolog --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index e5df99b8b0..d2b56306b3 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -1784,7 +1784,7 @@ class infolog_ui if ($content['pm_id']) { //echo "

this->link->link('infolog',{$content['link_to']['to_id']},'projectmanager',{$content['pm_id']});

"; - Link::link('infolog',$content['link_to']['to_id'],'projectmanager',$content['pm_id']); + Link::link('infolog',$info_id,'projectmanager',$content['pm_id']); // making the project the selected link, if no other link selected if (!$info_link_id || $info_link_id == 'projectmanager:'.$content['old_pm_id']) {