diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 6444d77c788..41fdd2799d6 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -715,7 +715,7 @@ class Form function select_produits($selected='',$htmlname='productid',$filtretype='',$limit=20,$price_level=0) { global $langs,$conf,$user; - if ($conf->use_ajax && $conf->PRODUIT_USE_SEARCH_TO_SELECT) + if ($conf->use_ajax && $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) { print $langs->trans("Ref").':   '; print $langs->trans("Label").':';