From d3861356d91a1476087a3fd20fc368d8609d5888 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Thu, 17 Apr 2008 12:07:13 +0000 Subject: [PATCH] Fix: Contact is preselected on create action from a contact link --- htdocs/comm/action/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 2f4e6efd4a5..c585f1632fc 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -458,7 +458,7 @@ if ($_GET["action"] == 'create') if ($_REQUEST["socid"] > 0) { print '<tr><td nowrap>'.$langs->trans("ActionOnContact").'</td><td>'; - $html->select_contacts($_REQUEST["socid"],'','contactid',1,1); + $html->select_contacts($_REQUEST["socid"],$_REQUEST['contactid'],'contactid',1,1); print '</td></tr>'; } -- GitLab