Fix: manquait global
This commit is contained in:
parent
212ee98787
commit
34a5401985
@ -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").':<input type="text" size="8" name="ajkeyref'.$htmlname.'" id="ajkeyref'.$htmlname.'"> ';
|
||||
print $langs->trans("Label").':<input type="text" size="16" name="ajkeylabel'.$htmlname.'" id="ajkeylabel'.$htmlname.'">';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user