diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php
index 789490a605c..7d3c64019a9 100644
--- a/htdocs/categories/viewcat.php
+++ b/htdocs/categories/viewcat.php
@@ -372,7 +372,7 @@ if ($type == Categorie::TYPE_PRODUCT)
print '
';
if ($id > 0) {
print '| '.$langs->trans('ChooseProduct/Service').' | ';
print '';
- print $form->select_produits($id, 'id', '', 20, 0, 1, 2, '', 1, array(), 0, 'All');
+ $form->select_produits($id, 'id', '', 20, 0, 1, 2, '', 1, array(), 0, 'All');
print ' |
';
if (! $sortorder) $sortorder="DESC";
@@ -114,7 +114,7 @@ if ($id > 0) {
else {
print '| '.$langs->trans('ChooseProduct/Service').' | ';
print '';
- print $form->select_produits('', 'id', '', 20, 0, 1, 2, '', 1, array(), 0, 'All');
+ $form->select_produits('', 'id', '', 20, 0, 1, 2, '', 1, array(), 0, 'All');
print ' |
';
}
diff --git a/htdocs/product/stock/massstockmove.php b/htdocs/product/stock/massstockmove.php
index 22c8787348a..444440df4a3 100644
--- a/htdocs/product/stock/massstockmove.php
+++ b/htdocs/product/stock/massstockmove.php
@@ -369,7 +369,7 @@ else
$limit = $conf->global->PRODUIT_LIMIT_SIZE;
}
-print $form->select_produits($id_product, 'productid', $filtertype, $limit, 0, -1, 2, '', 0, array(), 0, '1', 0, 'minwidth200imp maxwidth300', 1);
+$form->select_produits($id_product, 'productid', $filtertype, $limit, 0, -1, 2, '', 0, array(), 0, '1', 0, 'minwidth200imp maxwidth300', 1);
print '';
// Batch number
if ($conf->productbatch->enabled)
diff --git a/htdocs/product/stock/tpl/stockcorrection.tpl.php b/htdocs/product/stock/tpl/stockcorrection.tpl.php
index 9f0c4dd376e..e2e7745fd0d 100644
--- a/htdocs/product/stock/tpl/stockcorrection.tpl.php
+++ b/htdocs/product/stock/tpl/stockcorrection.tpl.php
@@ -81,7 +81,7 @@ if ($object->element == 'stock')
{
print ''.$langs->trans("Product").' | ';
print '';
- print $form->select_produits(GETPOST('product_id', 'int'), 'product_id', (empty($conf->global->STOCK_SUPPORTS_SERVICES)?'0':''), 0, 0, -1, 2, '', 0, null, 0, 1, 0, 'maxwidth500');
+ $form->select_produits(GETPOST('product_id', 'int'), 'product_id', (empty($conf->global->STOCK_SUPPORTS_SERVICES)?'0':''), 0, 0, -1, 2, '', 0, null, 0, 1, 0, 'maxwidth500');
print ' | ';
print '';
- print $form->select_produits('', 'productid', '1', 0, 0, 1, 2, '', 0, array(), 0, 'None', 0, 'maxwidth500');
+ $form->select_produits('', 'productid', '1', 0, 0, 1, 2, '', 0, array(), 0, 'None', 0, 'maxwidth500');
print ' | ';
print '';
}
diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php
index 722d2ba2273..3d91fac7c29 100644
--- a/htdocs/societe/price.php
+++ b/htdocs/societe/price.php
@@ -263,7 +263,7 @@ if (!empty($conf->global->PRODUIT_CUSTOMER_PRICES)) {
print '';
print '| '.$langs->trans('Product').' | ';
print '';
- print $form->select_produits('', 'prodid', '', 0);
+ $form->select_produits('', 'prodid', '', 0);
print ' | ';
print '
';