FIX display job of contact list

can see différent contact with same name but different job
This commit is contained in:
ptibogxiv 2019-11-20 13:07:26 +01:00 committed by GitHub
parent 7dba9ecdf4
commit f73bd0e0a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1290,7 +1290,7 @@ if ($id > 0)
// related contact
print '<tr><td>'.$langs->trans("ActionOnContact").'</td><td>';
print '<div class="maxwidth200onsmartphone">';
print $form->selectcontacts($object->socid, array_keys($object->socpeopleassigned), 'socpeopleassigned[]', 1, '', '', 0, 'quatrevingtpercent', false, 0, 0, array(), 'multiple', 'contactid');
print $form->selectcontacts($object->socid, array_keys($object->socpeopleassigned), 'socpeopleassigned[]', 1, '', '', 1, 'quatrevingtpercent', false, 0, 0, array(), 'multiple', 'contactid');
print '</div>';
print '</td>';
print '</tr>';