diff --git a/ChangeLog b/ChangeLog index 3aa54336829..54f5b31b06a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -56,6 +56,8 @@ For users: - New: [ task #823 ] Shipping_validate email notification. - New: [ task #900 ] Review code of ficheinter.class.php - Fix: [Bug #958] LocalTax2 for Spain fails on Suppliers +- Fix: [ bug #972 ] Auto completion contact field do not take account the min caract number before search +- Fix : [ bug #971 ] html.form.class.php select_contact with autocomplete do not exclude id from exclude array For translators: - Update language files. diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 114a2356c6d..ca5b2c833d0 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -892,7 +892,7 @@ class Form if ($conf->use_javascript_ajax && $conf->global->CONTACT_USE_SEARCH_TO_SELECT && ! $forcecombo && ! $options_only) { - $out.= ajax_combobox($htmlname, $event); + $out.= ajax_combobox($htmlname, $event, $conf->global->CONTACT_USE_SEARCH_TO_SELECT); } if ($htmlname != 'none' || $options_only) $out.= '