Skip to content
Snippets Groups Projects
Commit d3861356 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Contact is preselected on create action from a contact link

parent 30747f32
No related branches found
No related tags found
No related merge requests found
...@@ -458,7 +458,7 @@ if ($_GET["action"] == 'create') ...@@ -458,7 +458,7 @@ if ($_GET["action"] == 'create')
if ($_REQUEST["socid"] > 0) if ($_REQUEST["socid"] > 0)
{ {
print '<tr><td nowrap>'.$langs->trans("ActionOnContact").'</td><td>'; 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>'; print '</td></tr>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment