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

This commit is contained in:
Laurent Destailleur 2008-04-17 12:07:13 +00:00
parent 30747f3256
commit d3861356d9

View File

@ -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>';
}