';
/*
- * Ajouter une ligne de contact
+ * Add a new contact line
* Non affiche en mode modification de ligne
*/
if ($action != 'editline' && $user->rights->projet->creer)
@@ -318,7 +337,7 @@ if ($id > 0 || ! empty($ref))
print '| ';
// On recupere les id des users deja selectionnes
$contactsofproject=$projectstatic->getListContactId('internal');
- $form->select_users($user->id,'contactid',0,'',0,'',$contactsofproject);
+ print $form->select_dolusers((GETPOST('contactid')?GETPOST('contactid'):$user->id), 'contactid', 0, '', 0, '', $contactsofproject, 0, 0, 0, '', 1);
print ' | ';
print '';
$formcompany->selectTypeContact($object, '', 'type','internal','rowid');
|