Skip to content

Commit

Permalink
Merge pull request #4840 from atm-alexis/3.8_FIX_finished_param_not_use
Browse files Browse the repository at this point in the history
FIX finished parameters not used
  • Loading branch information
eldy committed Mar 17, 2016
2 parents aa7eb49 + 19e3c1b commit b023aa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/product/ajax/products.php
Expand Up @@ -48,6 +48,7 @@
$action = GETPOST('action', 'alpha');
$id = GETPOST('id', 'int');
$price_by_qty_rowid = GETPOST('pbq', 'int');
$finished = GETPOST('finished', 'int');

/*
* View
Expand Down Expand Up @@ -180,7 +181,7 @@

$form = new Form($db);
if (empty($mode) || $mode == 1) {
$arrayresult = $form->select_produits_list("", $htmlname, $type, "", $price_level, $searchkey, $status, 2, $outjson, $socid);
$arrayresult = $form->select_produits_list("", $htmlname, $type, "", $price_level, $searchkey, $status, $finished, $outjson, $socid);
} elseif ($mode == 2) {
$arrayresult = $form->select_produits_fournisseurs_list($socid, "", $htmlname, $type, "", $searchkey, $status, $outjson, $socid);
}
Expand Down

0 comments on commit b023aa3

Please sign in to comment.