Merge pull request #3976 from atm-alexis/3.9_FIX_htmlname_for_ajax_contact

FIX htmlname parameters wasnt applied
This commit is contained in:
Laurent Destailleur 2015-11-13 19:22:18 +01:00
commit 3ff42a45d4

View File

@ -50,7 +50,7 @@ if (! empty($id) && ! empty($action) && ! empty($htmlname))
$return=array();
if (empty($showempty)) $showempty=0;
$return['value'] = $form->selectcontacts($id,'','contactid',$showempty,'','',0,'',true);
$return['value'] = $form->selectcontacts($id,'',$htmlname,$showempty,'','',0,'',true);
$return['num'] = $form->num;
$return['error'] = $form->error;